Share via


CollectionSetCollection.Item Property (String)

Gets a collection set based on the name that is provided.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionSet
    Get
'Usage
Dim instance As CollectionSetCollection
Dim name As String
Dim value As CollectionSet

value = instance(name)
public CollectionSet this[
    string name
] { get; }
public:
property CollectionSet^ default[String^ name] {
    CollectionSet^ get (String^ name);
}
member Item : CollectionSet
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Collector.CollectionSet
A CollectionSetCollection object that is the collection set.

Remarks

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