Trigger.TextBody Property

 

Gets or sets the Transact-SQL string that defines the trigger.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Expensive | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
public string TextBody { get; set; }

Property Value

Type: System.String

A String value that specifies the Transact-SQL definition of the trigger .

Return to top
Show: