AggregationInstanceMeasureCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The AggregationInstanceMeasure to be located.
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).