Share via


AggregationInstanceDimensionCollection.Contains Method

Definition

Overloads

Contains(AggregationInstanceDimension)

Indicates whether the collection contains the specified AggregationInstanceDimension.

Contains(String)

Indicates whether the collection contains an AggregationInstanceDimension with the specified CubeDimensionID.

Contains(AggregationInstanceDimension)

Indicates whether the collection contains the specified AggregationInstanceDimension.

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

Parameters

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains an AggregationInstanceDimension with the specified CubeDimensionID.

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

Parameters

cubeDimensionId
String

The CubeDimensionID of the AggregationInstanceDimension to be located.

Returns

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

Exceptions

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

Applies to