共用方式為


CollectionSets 屬性

Gets the collection sets that are in the configuration store.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

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

屬性值

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

備註

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