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


Свойство Trigger.ClassName

Gets or sets the name of the class that is called by the referenced trigger.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property ClassName As String 
    Get 
    Set
'Применение
Dim instance As Trigger 
Dim value As String 

value = instance.ClassName

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

Значение свойства

Тип: System.String
A String value that specifies the name of the class that is called by the referenced trigger.

Замечания

A value is required for the ClassName property only when the ImplementationType property is set to SqlClr.

Примеры

Создание, изменение и удаление триггеров

См. также

Справочник

Trigger Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Триггеры DML

CREATE TRIGGER (Transact-SQL)