Share via


CollectionItem.Rename Method

Renames a collection item.

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

Syntax

'Declaration
Public Sub Rename ( _
    newName As String _
)
'Usage
Dim instance As CollectionItem 
Dim newName As String

instance.Rename(newName)
public void Rename(
    string newName
)
public:
virtual void Rename(
    String^ newName
) sealed
abstract Rename : 
        newName:string -> unit  
override Rename : 
        newName:string -> unit
public final function Rename(
    newName : String
)

Parameters

Implements

IRenamable.Rename(String)

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

CollectionItem Class

Microsoft.SqlServer.Management.Collector Namespace