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
)

参数