Condividi tramite


Metodo ScriptRename

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Renames a script that could be used to create the job, operator or alert category.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Overrides Sub ScriptRename ( _
    queries As StringCollection, _
    so As ScriptingOptions, _
    newName As String _
)
'Utilizzo
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
)

Parametri