ScriptRename メソッド
このメソッドは、SMO インフラストラクチャをサポートするためのメソッドであり、コードから直接使用することを目的としたものではありません。
名前空間: 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
)
パラメーター
- renameQuery
型: System.Collections.Specialized. . :: . .StringCollection
StringCollection オブジェクトです。
- newName
型: System. . :: . .String
新しい名前を示す文字列値です。