共用方式為


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)