Share via


CollectionSet.ISfcRenamable.Rename Method

Renames this object to the specified key and updates the storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Private Sub Rename ( _
    newKey As SfcKey _
) Implements ISfcRenamable.Rename
'Usage
Dim instance As CollectionSet 
Dim newKey As SfcKey 

CType(instance, ISfcRenamable).Rename(newKey)
void ISfcRenamable.Rename(
    SfcKey newKey
)
private:
virtual void Rename(
    SfcKey^ newKey
) sealed = ISfcRenamable::Rename
private abstract Rename : 
        newKey:SfcKey -> unit  
private override Rename : 
        newKey:SfcKey -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

ISfcRenamable.Rename(SfcKey)

See Also

Reference

CollectionSet Class

Microsoft.SqlServer.Management.Collector Namespace