Skip to main content
A newer version of this page is available.
All docs
V20.2
.NET Framework 4.5.2+

AuditTrailService.Settings Property

Provides access to the service’s settings. These settings allow you to customize the list of objects and properties that should be audited.

Namespace: DevExpress.Persistent.AuditTrail

Assembly: DevExpress.Persistent.BaseImpl.v20.2.dll

Declaration

public AuditTrailSettings Settings { get; }

Property Value

Type Description
DevExpress.Persistent.AuditTrail.AuditTrailSettings

The the AuditTrailSettings object that contains service’s settings.

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);  
        }  
    }
}
See Also