Skip to main content
All docs
V25.1
  • .NET 8.0+

    AuditTrailServiceRoot.Settings Property

    Namespace: DevExpress.Persistent.BaseImpl.AuditTrail.Services

    Assembly: DevExpress.Persistent.BaseImpl.Xpo.v25.1.dll

    Declaration

    public AuditTrailSettings Settings { get; }

    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