Udostępnij przez


Właściwość CollectorConfigStore.CollectionSets

Pobiera kolekcja zestawów, które są w magazynie konfiguracja.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Collector
Zestaw:  Microsoft.SqlServer.Management.Collector (w Microsoft.SqlServer.Management.Collector.dll)

Składnia

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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Collector.CollectionSetCollection
A CollectionSetObject zawierający zestawy kolekcja.

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.