A Sandcastle Documented Class Library

# CubePerspective ConfigureDataSecurityHierarchy Method

Configures the specified hierarchy as a data security hierarchy.

Namespace: Dundas.BI.Entities.CubePerspectives
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 void ConfigureDataSecurityHierarchy(
    	IHierarchy hierarchy,
    	Guid customAttributeId,
    	bool hideHierarchy
    )

    Public Sub ConfigureDataSecurityHierarchy (
    	hierarchy As IHierarchy,
    	customAttributeId As Guid,
    	hideHierarchy As Boolean
    )

    public:
    virtual void ConfigureDataSecurityHierarchy(
    	IHierarchy^ hierarchy,
    	Guid customAttributeId,
    	bool hideHierarchy
    ) sealed

    abstract ConfigureDataSecurityHierarchy :
            hierarchy : IHierarchy *
            customAttributeId : Guid *
            hideHierarchy : bool -> unit
    override ConfigureDataSecurityHierarchy :
            hierarchy : IHierarchy *
            customAttributeId : Guid *
            hideHierarchy : bool -> unit

#### Parameters

hierarchy
  Type: Dundas.BI.Data.Metadata
  IHierarchy
  The hierarchy.
customAttributeId
  Type: System
  Guid
  The custom attribute ID.
hideHierarchy
  Type: System
  Boolean
  If set to
  then the hierarchy is removed from the parent cube hierarchy collection.

#### Implements

IAnalysisStructure
ConfigureDataSecurityHierarchy(IHierarchy, Guid, Boolean)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | hierarchy is .
ArgumentException | hierarchy does not belong to the current instance or customAttributeId is not an existing custom attribute ID.

See Also

#### Reference

CubePerspective Class
Dundas.BI.Entities.CubePerspectives Namespace