A Sandcastle Documented Class Library

# AttributeHierarchy IsCompatibleWith Method

Checks if the current instance is compatible with the specified hierarchy.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public bool IsCompatibleWith(
    	IHierarchy hierarchy,
    	bool checkCube
    )

    Public Function IsCompatibleWith (
    	hierarchy As IHierarchy,
    	checkCube As Boolean
    ) As Boolean

    public:
    virtual bool IsCompatibleWith(
    	IHierarchy^ hierarchy,
    	bool checkCube
    ) sealed

    abstract IsCompatibleWith :
            hierarchy : IHierarchy *
            checkCube : bool -> bool
    override IsCompatibleWith :
            hierarchy : IHierarchy *
            checkCube : bool -> bool

#### Parameters

hierarchy
  Type: Dundas.BI.Data.Metadata
  IHierarchy
  The hierarchy the analysis is performed against.
checkCube
  Type: System
  Boolean
  Value that indicates if the cube parentage should be checked as well for the compatibility analysis.

#### Return Value

Type: Boolean
if the current instance is compatible, otherwise
.

#### Implements

IHierarchy
IsCompatibleWith(IHierarchy, Boolean)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | The is .

See Also

#### Reference

AttributeHierarchy Class
Dundas.BI.Data.Metadata Namespace