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
)
參數
- sb
型別:System.Text. . :: . .StringBuilder
Specifies the StringBuilder object that is used to add the trigger events.
- so
型別:Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
Specifies the ScriptingOptions that is used for adding the trigger events.
備註
This method is virtual and must be overridden before it can be used. There is no default implementation.