Метод 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
)
Параметры
- renameQuery
Тип: System.Collections.Specialized. . :: . .StringCollection
A StringCollection object.
- so
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object.
- newName
Тип: System. . :: . .String
A string value that specifies the new name.