Trigger.TextBody Trigger.TextBody Trigger.TextBody Property

Definition

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

public:
 property System::String ^ TextBody { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Expensive | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Design)]
public string TextBody { get; set; }
Public Property TextBody As String
Property Value

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

Implements

Examples

Creating, Altering, and Removing Triggers

Applies to