Share via


CollectorConfigStore.CollectionSets Property

Gets the collection sets that are in the configuration store.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(CollectionSet))> _
Public ReadOnly Property CollectionSets As CollectionSetCollection
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Collector.CollectionSetCollection
A CollectionSetObject that contains the collection sets.

Remarks

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