DatabaseAuditSpecification.Enabled Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property Enabled As Boolean
    Get
'Usage
Dim instance As DatabaseAuditSpecification
Dim value As Boolean

value = instance.Enabled
[SfcPropertyAttribute]
public bool Enabled { get; }
[SfcPropertyAttribute]
public:
property bool Enabled {
    bool get ();
}
[<SfcPropertyAttribute>]
member Enabled : bool
function get Enabled () : boolean

Property Value

Type: System.Boolean
A Boolean system value that specifies whether the database audit specification is enabled or not.
If True, the database audit specification is enabled.
If False (default), the database audit specification is not enabled.