Método ScriptCreate
Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. 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 (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Protected Overrides Sub ScriptCreate ( _
queries As StringCollection, _
so As ScriptingOptions _
)
'Uso
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
)
Parâmetros
- queries
Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object that contains a list of Transact-SQL statements for the script.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options.
Comentários
O script gerado pode conter procedimentos internos não documentados, necessários à saída do script completo.