Delen via


ServerDdlTrigger.BodyStartIndex Property

Gets the index value that represents the start of the data definition language (DDL) trigger text body.

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)> _
Public ReadOnly Property BodyStartIndex As Integer 
    Get
'Usage
Dim instance As ServerDdlTrigger 
Dim value As Integer 

value = instance.BodyStartIndex
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public int BodyStartIndex { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property int BodyStartIndex {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member BodyStartIndex : int
function get BodyStartIndex () : int

Property Value

Type: System.Int32
An Int32 value that specifies the index that represents the start of the DDL trigger text body.

Examples

Creating, Altering, and Removing Triggers

See Also

Reference

ServerDdlTrigger Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Triggers

CREATE TRIGGER (Transact-SQL)