共用方式為


ScriptRename 方法

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Renames a script that could be used to create the job, operator or alert category.

命名空間:  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
)

參數