共用方式為


ScriptRename 方法

This method supports the SMO infrastructure and is not intended to be used directly from your code.

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

語法

'宣告
Protected Overridable 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 virtual void ScriptRename(
    StringCollection renameQuery,
    ScriptingOptions so,
    string newName
)
protected:
virtual void ScriptRename(
    StringCollection^ renameQuery, 
    ScriptingOptions^ so, 
    String^ newName
)
abstract ScriptRename : 
        renameQuery:StringCollection * 
        so:ScriptingOptions * 
        newName:string -> unit 
override ScriptRename : 
        renameQuery:StringCollection * 
        so:ScriptingOptions * 
        newName:string -> unit 
protected function ScriptRename(
    renameQuery : StringCollection, 
    so : ScriptingOptions, 
    newName : String
)