共用方式為


ScriptRename 方法

此成員會覆寫 NamedSmoObject. . :: . .ScriptRename(StringCollection, ScriptingOptions, String)

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

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