Udostępnij za pośrednictwem


NamedSmoObject.ScriptRename Method

This method supports the SMO 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

'Deklaracja
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.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.