Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DatabaseDdlTrigger.Text Property

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.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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.