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
)
매개 변수
- renameQuery
유형: System.Collections.Specialized. . :: . .StringCollection
A StringCollection.
- newName
유형: System. . :: . .String
A String value that specifies the new name for the file.