Share via


DatabaseDdlTrigger.TextBody Property

Gets or sets a String value that specifies the text body that is used to define the DDL trigger.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Overrides Property TextBody As String
    Get
    Set
'Usage
Dim instance As DatabaseDdlTrigger
Dim value As String

value = instance.TextBody

instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public override string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property String^ TextBody {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override TextBody : string with get, set
override function get TextBody () : String
override function set TextBody (value : String)

Property Value

Type: System.String
A String value that specifies the text body that is used to define the DDL trigger.

Implements

ITextObject.TextBody