CollectionSets 属性

获取配置存储区中的收集组。

命名空间:  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
一个包含收集组的 CollectionSetObject。

注释

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