DdlTriggerBase.AddDdlTriggerEvents Method
Adds DdlTriggerEvent() objects to the trigger using the specified StringBuilder and options.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overridable Sub AddDdlTriggerEvents ( _
sb As StringBuilder, _
so As ScriptingOptions _
)
'Usage
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
)
Parameters
- sb
Type: System.Text.StringBuilder
Specifies the StringBuilder object that is used to add the trigger events.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
Specifies the ScriptingOptions that is used for adding the trigger events.
Remarks
This method is virtual and must be overridden before it can be used. There is no default implementation.