共用方式為


Enabled 屬性

Gets the Boolean value that specifies whether the referenced audit is enabled on the instance of SQL Server. 

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property Enabled As Boolean
    Get
'用途
Dim instance As Audit
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 value that specifies the whether the table references a system table or not.
If True, the referenced audit is enabled on the instance of SQL Server; otherwise, False (default).