Método ScriptRename
Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Renames a script that could be used to create the job, operator or alert category.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Protected Overrides Sub ScriptRename ( _
queries As StringCollection, _
so As ScriptingOptions, _
newName As String _
)
'Uso
Dim queries As StringCollection
Dim so As ScriptingOptions
Dim newName As String
Me.ScriptRename(queries, so, newName)
protected override void ScriptRename(
StringCollection queries,
ScriptingOptions so,
string newName
)
protected:
virtual void ScriptRename(
StringCollection^ queries,
ScriptingOptions^ so,
String^ newName
) override
abstract ScriptRename :
queries:StringCollection *
so:ScriptingOptions *
newName:string -> unit
override ScriptRename :
queries:StringCollection *
so:ScriptingOptions *
newName:string -> unit
protected override function ScriptRename(
queries : StringCollection,
so : ScriptingOptions,
newName : String
)
Parâmetros
- queries
Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object.
- so
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object value that specifies the scripting options.
- newName
Tipo: System. . :: . .String
A String value that specifies the new name for the script.