DatabaseDdlTrigger.Text Property
SQL Server 2012
Gets the Transact-SQL statement that defines the database data definition language (DDL) trigger.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)] public string Text { get; }
Property Value
Type: System.StringA 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.