共用方式為


CollectionItems 屬性

Gets the collection items in a collection set.

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

語法

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

屬性值

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

備註

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