共用方式為


AddDdlTriggerEvents 方法

Adds DdlTriggerEvent()()()() objects to the trigger using the specified StringBuilder and options.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Overridable Sub AddDdlTriggerEvents ( _
    sb As StringBuilder, _
    so As ScriptingOptions _
)
'用途
Dim sb As StringBuilder
Dim so As ScriptingOptions

Me.AddDdlTriggerEvents(sb, so)
protected virtual void AddDdlTriggerEvents(
    StringBuilder sb,
    ScriptingOptions so
)
protected:
virtual void AddDdlTriggerEvents(
    StringBuilder^ sb, 
    ScriptingOptions^ so
)
abstract AddDdlTriggerEvents : 
        sb:StringBuilder * 
        so:ScriptingOptions -> unit 
override AddDdlTriggerEvents : 
        sb:StringBuilder * 
        so:ScriptingOptions -> unit 
protected function AddDdlTriggerEvents(
    sb : StringBuilder, 
    so : ScriptingOptions
)

參數

備註

This method is virtual and must be overridden before it can be used. There is no default implementation.