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


DatabaseDdlTrigger.Text Property

Gets the Transact-SQL statement that defines the database data definition language (DDL) trigger.

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

Синтаксис

'Декларация
Public ReadOnly Property Text As String
public string Text { get; }
public:
property String^ Text {
    String^ get ();
}
/** @property */
public String get_Text ()
public function get Text () : String

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

A String value that specifies the actual text of the Transact-SQL statement that defines the database DDL trigger.

Замечания

The Text property of the DatabaseDdlTrigger object is equivalent to the sql_statement argument that comes after the AS clause in the CREATE TRIGGER Transact-SQL statement.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Get and Set a Property in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

DatabaseDdlTrigger Class
DatabaseDdlTrigger Members
Microsoft.SqlServer.Management.Smo Namespace

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

CREATE TRIGGER (Transact-SQL)
Триггеры DDL