Trigger.ImplementationType プロパティ

トリガーの実装の種類を取得します。値の設定も可能です。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ImplementationType As ImplementationType 
    Get 
    Set
'使用
Dim instance As Trigger 
Dim value As ImplementationType 

value = instance.ImplementationType

instance.ImplementationType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public ImplementationType ImplementationType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property ImplementationType ImplementationType {
    ImplementationType get ();
    void set (ImplementationType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member ImplementationType : ImplementationType with get, set
function get ImplementationType () : ImplementationType 
function set ImplementationType (value : ImplementationType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo.ImplementationType
トリガーの実装の種類を示す ImplementationType オブジェクトの値です。

説明

このプロパティは、SQL Server CLR 型または Transact-SQL のどちらでトリガーが実装されるのかを指定します。 トリガーが SQL Server CLR 型で実装される場合、ExecutionContextPrincipal プロパティ、AssemblyName プロパティ、ClassName プロパティ、および MethodName プロパティの値が必要です。

使用例

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

関連項目

参照

Trigger クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

DML トリガー

CREATE TRIGGER (Transact-SQL)