Partager via


Propriété CollectionSets

Obtient les jeux d'éléments de collecte qui figurent dans le magasin de configurations.

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

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(CollectionSet))> _
Public ReadOnly Property CollectionSets As CollectionSetCollection
    Get
'Utilisation
Dim instance As CollectorConfigStore
Dim value As CollectionSetCollection

value = instance.CollectionSets
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(CollectionSet))]
public CollectionSetCollection CollectionSets { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(CollectionSet))]
public:
property CollectionSetCollection^ CollectionSets {
    CollectionSetCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(CollectionSet))>]
member CollectionSets : CollectionSetCollection
function get CollectionSets () : CollectionSetCollection

Valeur de propriété

Type : Microsoft.SqlServer.Management.Collector. . :: . .CollectionSetCollection
CollectionSetObject qui contient les jeux d'éléments de collecte.

Notes

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