共用方式為


ISfcRenamable.Rename(SfcKey) Method

Definition

Rename this object to the given key and update storage to reflect it. This assumes the object can logically rename itself based on all or part of the key data, and Sfc internally will adjust the object's Key and collection membership. A rename event will fire after internal updates succeed to allow listeners to adjust similar external collections and such. For single string-oriented renaming see ISfcRenamable. For KeyChain-oriented moving see ISfcMovable.

public void Rename (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey newKey);
abstract member Rename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> unit
Public Sub Rename (newKey As SfcKey)

Parameters

newKey
SfcKey

Applies to