SfcCollection<T, K, ParentT>.Rename Method

Renames the specified object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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
)

Parameters

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

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace