ServerAuditSpecification.Enabled Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the Boolean value that specifies whether the server audit specification is enabled or not.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public bool Enabled { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property bool Enabled {
    bool get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member Enabled : bool with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property Enabled As Boolean

Property Value

Type: System.Boolean

A Boolean system value that specifies whether the server audit specification is enabled or not.

If True, the server audit specification is enabled.

If False (default), the server audit specification is not enabled.

See Also

ServerAuditSpecification Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top