ScriptCreate-Methode
Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Generates a Transact-SQL script that can be used to create the job category, the operator category, or the alert category as specified by the scripting options.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
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
)
Parameter
- queries
Typ: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains a list of Transact-SQL statements for the script.
- so
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options.
Hinweise
Das generierte Skript enthält möglicherweise undokumentierte, interne Prozeduren, die für die vollständige Skriptausgabe erforderlich sind.