Share via


ISfcCollection.Rename Method

Renames the specified SfcInstance 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
Sub Rename ( _
    sfcInstance As SfcInstance, _
    newKey As SfcKey _
)
'Usage
Dim instance As ISfcCollection
Dim sfcInstance As SfcInstance
Dim newKey As SfcKey

instance.Rename(sfcInstance, newKey)
void Rename(
    SfcInstance sfcInstance,
    SfcKey newKey
)
void Rename(
    SfcInstance^ sfcInstance, 
    SfcKey^ newKey
)
abstract Rename : 
        sfcInstance:SfcInstance * 
        newKey:SfcKey -> unit 
function Rename(
    sfcInstance : SfcInstance, 
    newKey : SfcKey
)

Parameters