Partager via


Propriété CollectionSetCollection.Item (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As CollectionSet 
    Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

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

Notes

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

Voir aussi

Référence

CollectionSetCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Collector