ServerAuditSpecification.Enabled プロパティ

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

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Enabled As Boolean 
    Get
'使用
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

プロパティ値

型: System.Boolean
サーバー監査の仕様が有効かどうかを示す Boolean システム値です。 True の場合、サーバー監査の仕様が有効です。 False (既定値) の場合、サーバー監査の仕様は有効にされていません。

関連項目

参照

ServerAuditSpecification クラス

Microsoft.SqlServer.Management.Smo 名前空間