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
- newKey
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.