Share via


CollectionSet.CollectionItems Property

Gets the collection items in a collection set.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(CollectionItem))> _
Public ReadOnly Property CollectionItems As CollectionItemCollection 
    Get
'Usage
Dim instance As CollectionSet 
Dim value As CollectionItemCollection 

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

Property Value

Type: Microsoft.SqlServer.Management.Collector.CollectionItemCollection
Returns the [CollectionItemCollection] object that contains the collection items.

Remarks

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

See Also

Reference

CollectionSet Class

Microsoft.SqlServer.Management.Collector Namespace