ServerDdlTrigger.IsEnabled プロパティ

サーバー データ定義言語 (DDL) トリガーが有効かどうかを示す Boolean プロパティ値を取得または設定します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsEnabled As Boolean 
    Get 
    Set
'使用
Dim instance As ServerDdlTrigger 
Dim value As Boolean 

value = instance.IsEnabled

instance.IsEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEnabled : bool with get, set
function get IsEnabled () : boolean 
function set IsEnabled (value : boolean)

プロパティ値

型: System.Boolean
サーバー DDL トリガーが有効かどうかを示す Boolean プロパティ値です。True の場合、サーバー DDL トリガーは有効です。False (既定値) の場合、サーバー DDL トリガーは無効です。

使用例

トリガーの作成、変更、および削除

関連項目

参照

ServerDdlTrigger クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

DDL トリガー

CREATE TRIGGER (Transact-SQL)