Compartir a través de


DatabaseAuditSpecification.Enabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Enabled As Boolean 
    Get
'Uso
Dim instance As DatabaseAuditSpecification 
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

Valor de la propiedad

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

Vea también

Referencia

DatabaseAuditSpecification Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo