ISfcRenamable.Rename(SfcKey) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將此物件重新命名為指定金鑰,並更新儲存空間以反映該金鑰。 這假設物件能根據全部或部分金鑰資料邏輯地重新命名自己,而 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