AggregationInstanceDimensionCollection.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(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
The AggregationInstanceDimension to be located.
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).