次の方法で共有


Enabled プロパティ

サーバー監査の仕様が有効かどうかを示す Boolean 値を取得します。値の設定も可能です。

名前空間:  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
サーバー監査の仕様が有効かどうかを示す Boolean システム値です。
True の場合、サーバー監査の仕様が有効です。
False (既定値) の場合、サーバー監査の仕様は有効にされていません。