RegisteredServer.Rename Method (SfcKey)
Specifies the RegisteredServer object to rename.
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
Public Sub Rename ( _
key As SfcKey _
)
'Usage
Dim instance As RegisteredServer
Dim key As SfcKey
instance.Rename(key)
public void Rename(
SfcKey key
)
public:
virtual void Rename(
SfcKey^ key
) sealed
abstract Rename :
key:SfcKey -> unit
override Rename :
key:SfcKey -> unit
public final function Rename(
key : SfcKey
)
Parameters
- key
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
A SfcKey object