Export (0) Print
Expand All

ServerDdlTrigger.Text Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the Transact-SQL statement that defines the server 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.Matrix)]
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 server DDL trigger.

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft