Jaa


CubeHierarchyCollection.Contains Method

Definition

Overloads

Contains(CubeHierarchy)

Indicates whether the collection contains the specified CubeHierarchy.

Contains(String)

Indicates whether the collection contains a CubeHierarchy with the specified HierarchyID.

Contains(CubeHierarchy)

Indicates whether the collection contains the specified CubeHierarchy.

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

Parameters

item
CubeHierarchy

The CubeHierarchy to be located.

Returns

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

Applies to

Contains(String)

Indicates whether the collection contains a CubeHierarchy with the specified HierarchyID.

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

Parameters

hierarchyId
String

The HierarchyID of the CubeHierarchy to be located.

Returns

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

Exceptions

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

Applies to