DdlTriggerBase.ScriptCreate Method
Creates a new DdlTriggerBase script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Protected Overrides Sub ScriptCreate ( _
queries As StringCollection, _
so As ScriptingOptions _
)
'Usage
Dim queries As StringCollection
Dim so As ScriptingOptions
Me.ScriptCreate(queries, so)
protected override void ScriptCreate(
StringCollection queries,
ScriptingOptions so
)
protected:
virtual void ScriptCreate(
StringCollection^ queries,
ScriptingOptions^ so
) override
abstract ScriptCreate :
queries:StringCollection *
so:ScriptingOptions -> unit
override ScriptCreate :
queries:StringCollection *
so:ScriptingOptions -> unit
protected override function ScriptCreate(
queries : StringCollection,
so : ScriptingOptions
)
Parameters
- queries
Type: System.Collections.Specialized.StringCollection
A StringCollection object that specifies the DDL trigger base script to be created.
- so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that specifies the scripting options that are associated with the new script.