共用方式為


Rename 方法 (SfcKey)

Specifies the RegisteredServer object to rename.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Sub Rename ( _
    key As SfcKey _
)
'用途
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
)

實作

ISfcRenamable. . :: . .Rename(SfcKey)