Condividi tramite


Proprietà CollectionItems

Ottiene gli elementi della raccolta in un set di raccolta.

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Collector. . :: . .CollectionItemCollection
Restituisce l'oggetto [CollectionItemCollection] che contiene gli elementi di raccolta.

Osservazioni

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