AggregationInstanceCollection.Contains Method (AggregationInstance)

Indicates whether the collection contains a specified AggregationInstance.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As AggregationInstance _
) As Boolean
'Usage
Dim instance As AggregationInstanceCollection
Dim item As AggregationInstance
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    AggregationInstance item
)
public:
bool Contains(
    AggregationInstance^ item
)
member Contains : 
        item:AggregationInstance -> bool 
public function Contains(
    item : AggregationInstance
) : boolean

Return Value

Type: System.Boolean
true if the AggregationInstance is contained in the collection; otherwise, false.