NamedSmoObject.ScriptRename Method
This method supports the Microsoft SQL Server Management Objects infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Protected Overridable Sub ScriptRename ( _
renameQuery As StringCollection, _
so As ScriptingOptions, _
newName As String _
)
protected virtual void ScriptRename (
StringCollection renameQuery,
ScriptingOptions so,
string newName
)
protected:
virtual void ScriptRename (
StringCollection^ renameQuery,
ScriptingOptions^ so,
String^ newName
)
protected void ScriptRename (
StringCollection renameQuery,
ScriptingOptions so,
String newName
)
protected function ScriptRename (
renameQuery : StringCollection,
so : ScriptingOptions,
newName : String
)
Parameters
- renameQuery
- so
- newName
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
NamedSmoObject Class
NamedSmoObject Members
Microsoft.SqlServer.Management.Smo Namespace