ISfcCollection.Rename 方法
Renames the specified object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Private Sub Rename ( _
sfcInstance As SfcInstance, _
newKey As SfcKey _
) Implements ISfcCollection.Rename
'用途
Dim instance As SfcCollection
Dim sfcInstance As SfcInstance
Dim newKey As SfcKey
CType(instance, ISfcCollection).Rename(sfcInstance, _
newKey)
void ISfcCollection.Rename(
SfcInstance sfcInstance,
SfcKey newKey
)
private:
virtual void Rename(
SfcInstance^ sfcInstance,
SfcKey^ newKey
) sealed = ISfcCollection::Rename
private abstract Rename :
sfcInstance:SfcInstance *
newKey:SfcKey -> unit
private override Rename :
sfcInstance:SfcInstance *
newKey:SfcKey -> unit
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- sfcInstance
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The SfcInstance object to rename.
- newKey
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The new key for the object.