CollectionSet.Rename Method
Renames a collection set.
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 CollectionSet
Dim newName As String
instance.Rename(newName)
public void Rename(
string newName
)
public:
void Rename(
String^ newName
)
member Rename :
newName:string -> unit
public function Rename(
newName : String
)
Parameters
- newName
Type: System.String
A String value that is the new name of the collection set.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.