A Sandcastle Documented Class Library

# IHierarchyService RemoveAttributeHierarchy Method (Guid, String, String)

Removes the specified AttributeHierarchy.

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

    void RemoveAttributeHierarchy(
    	Guid entityId,
    	string hierarchy,
    	string attribute
    )

    Sub RemoveAttributeHierarchy (
    	entityId As Guid,
    	hierarchy As String,
    	attribute As String
    )

    void RemoveAttributeHierarchy(
    	Guid entityId,
    	String^ hierarchy,
    	String^ attribute
    )

    abstract RemoveAttributeHierarchy :
            entityId : Guid *
            hierarchy : string *
            attribute : string -> unit

#### Parameters

entityId
  Type: System
  Guid
  The hierarchy parent entity.
hierarchy
  Type: System
  String
  The unique name of the hierarchy.
attribute
  Type: System
  String
  The unique name of the attribute hierarchy.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | hierarchy or attribute is .
ArgumentException | entityId is Empty or doesn't support hierarchies.
NotFoundException | The hierarchy with the specified name and parent does not exist or the entity with the specified entityId does not exist.
NoPrivilegeException | The caller does not have permission to access the entity.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IHierarchyService Interface
RemoveAttributeHierarchy Overload
Dundas.BI.Data.Metadata Namespace