Condividi tramite


AggregationInstanceMeasureCollection.Contains Method

Definition

Overloads

Contains(AggregationInstanceMeasure)

Indicates whether the collection contains the specified AggregationInstanceMeasure.

Contains(String)

Indicates whether the collection contains an AggregationInstanceMeasure with the specified MeasureID.

Contains(AggregationInstanceMeasure)

Indicates whether the collection contains the specified AggregationInstanceMeasure.

public bool Contains (Microsoft.AnalysisServices.AggregationInstanceMeasure item);
override this.Contains : Microsoft.AnalysisServices.AggregationInstanceMeasure -> bool
Public Function Contains (item As AggregationInstanceMeasure) As Boolean

Parameters

Returns

True, if the specified AggregationInstanceMeasure is found in the collection, otherwise, false.

Applies to

Contains(String)

Indicates whether the collection contains an AggregationInstanceMeasure with the specified MeasureID.

public bool Contains (string measureId);
override this.Contains : string -> bool
Public Function Contains (measureId As String) As Boolean

Parameters

measureId
String

The MeasureID of the AggregationInstanceMeasure to be located.

Returns

True, if the specified AggregationInstanceMeasure is found in the collection, otherwise, false.

Exceptions

The specified measureId is a null reference (Nothing in Visual Basic).

Applies to