ScriptRename 方法

Renames the script in the database file.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Overrides Sub ScriptRename ( _
    renameQuery As StringCollection, _
    so As ScriptingOptions, _
    newName As String _
)
用法
Dim renameQuery As StringCollection
Dim so As ScriptingOptions
Dim newName As String

Me.ScriptRename(renameQuery, so, newName)
protected override void ScriptRename(
    StringCollection renameQuery,
    ScriptingOptions so,
    string newName
)
protected:
virtual void ScriptRename(
    StringCollection^ renameQuery, 
    ScriptingOptions^ so, 
    String^ newName
) override
abstract ScriptRename : 
        renameQuery:StringCollection * 
        so:ScriptingOptions * 
        newName:string -> unit 
override ScriptRename : 
        renameQuery:StringCollection * 
        so:ScriptingOptions * 
        newName:string -> unit 
protected override function ScriptRename(
    renameQuery : StringCollection, 
    so : ScriptingOptions, 
    newName : String
)

参数