Поделиться через


Свойство 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)