Enabled 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public ReadOnly Property Enabled As Boolean
    Get
用法
Dim instance As ServerAuditSpecification
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

属性值

类型: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.