Freigeben über


Rename-Methode

Renames the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Friend Sub Rename ( _
    obj As T, _
    newKey As K _
)
'Usage
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
)

Parameter

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