Dela via


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

Remarks

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