AggregationDimensionCollection.Contains Method

Definition

Overloads

Contains(AggregationDimension)

Indicates whether the collection contains the specified AggregationDimension.

Contains(String)

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

Contains(AggregationDimension)

Indicates whether the collection contains the specified AggregationDimension.

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

Parameters

item
AggregationDimension

The AggregationDimension to be located.

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains an AggregationDimension 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 AggregationDimension to be located.

Returns

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

Exceptions

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

Applies to