Trigger.ImplementationType 属性

Gets or sets the implementation type of the trigger.

命名空间:  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
An ImplementationType object value that specifies the implementation type of the trigger.

注释

This property specifies whether the trigger is implemented with an SQL Server CLR type or with Transact-SQL. If the trigger is implemented with an SQL Server CLR type, values are required for the ExecutionContextPrincipal property, the AssemblyName property, the ClassName property, and the MethodName property.

示例

创建、更改和删除触发器

请参阅

参考

Trigger 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

DML 触发器

CREATE TRIGGER (Transact-SQL)