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
- newName
Type: System.String
A String value that is the new name for the collection item.
Implements
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.