Partilhar via


DatabaseFile.ScriptRename Method

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Protected Overrides Sub ScriptRename ( _
    renameQuery As StringCollection, _
    so As ScriptingOptions, _
    newName As String _
)
protected override void ScriptRename (
    StringCollection renameQuery,
    ScriptingOptions so,
    string newName
)
protected:
virtual void ScriptRename (
    StringCollection^ renameQuery, 
    ScriptingOptions^ so, 
    String^ newName
) override
protected void ScriptRename (
    StringCollection renameQuery, 
    ScriptingOptions so, 
    String newName
)
protected override 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

DatabaseFile Class
DatabaseFile Members
Microsoft.SqlServer.Management.Smo Namespace