ServerDdlTrigger.BodyStartIndex 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property BodyStartIndex As Integer 
    Get
用法
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

属性值

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

示例

创建、更改和删除触发器

请参阅

参考

ServerDdlTrigger 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

DDL 触发器

CREATE TRIGGER (Transact-SQL)