AuditTrailServiceRoot.Settings Property
Namespace: DevExpress.Persistent.BaseImpl.AuditTrail.Services
Assembly: DevExpress.Persistent.BaseImpl.Xpo.v24.2.dll
NuGet Package: DevExpress.Persistent.BaseImpl.Xpo
Declaration
Property Value
Type |
---|
DevExpress.Persistent.AuditTrail.AuditTrailSettings |
Remarks
The following example demonstrates how to get this property value:
using DevExpress.ExpressApp.Win;
using DevExpress.Persistent.AuditTrail;
// ...
public class MySolutionWinApplication : WinApplication {
// ...
protected override void OnLoggedOn(LogonEventArgs args) {
base.OnLoggedOn(args);
foreach (AuditTrailClassInfo info in AuditTrailService.Instance.Settings.TypesToAudit) {
AuditTrailService.Instance.Settings.RemoveType(info.ClassInfo.ClassType);
}
}
}
Implements
See Also