RegisteredServer.Rename Method (String)
Renames the RegisteredServer object by using the specified name.
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
Public Sub Rename ( _
name As String _
)
'Usage
Dim instance As RegisteredServer
Dim name As String
instance.Rename(name)
public void Rename(
string name
)
public:
virtual void Rename(
String^ name
) sealed
abstract Rename :
name:string -> unit
override Rename :
name:string -> unit
public final function Rename(
name : String
)
Parameters
- name
Type: System.String
A String that specifies the new name of the referenced object.
Implements
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.