This topic has not yet been rated - Rate this topic

ServerDdlTrigger.Text Property

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.