共用方式為


Rename 方法

Renames the specified object. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Protected Friend Sub Rename ( _
    obj As T, _
    newKey As K _
)
'用途
Dim obj As T
Dim newKey As K

Me.Rename(obj, newKey)
protected internal void Rename(
    T obj,
    K newKey
)
protected public:
void Rename(
    T obj, 
    K newKey
)
member Rename : 
        obj:'T * 
        newKey:'K -> unit 
 function Rename(
    obj : T, 
    newKey : K
)

參數

  • obj
    型別:T
    The object to rename.
  • newKey
    型別:K
    The new key for the object.