Condividi tramite


Proprietà ServerAuditSpecification.Enabled

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Enabled As Boolean 
    Get
'Utilizzo
Dim instance As ServerAuditSpecification 
Dim value As Boolean 

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

Valore proprietà

Tipo: 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.

Vedere anche

Riferimento

ServerAuditSpecification Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo