ISfcRenamable.Rename(SfcKey) 方法

定義

將此物件重新命名為指定金鑰,並更新儲存空間以反映該金鑰。 這假設物件能根據全部或部分金鑰資料邏輯地重新命名自己,而 Sfc 內部會調整物件的金鑰與集合成員資格。 內部更新成功後,會觸發重命名事件,讓監聽者能調整類似的外部集合等。 關於單字串導向的重新命名,請參見 ISfcRenamable。 關於以鑰匙環為導向的移動,請參見 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)

參數

newKey
SfcKey

適用於