IHierarchyServiceRemoveAttributeHierarchy Method (Guid, String, String, EntitySaveOptions)

Removes the specified AttributeHierarchy.

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void RemoveAttributeHierarchy(
	Guid entityId,
	string hierarchy,
	string attribute,
	EntitySaveOptions entitySaveOptions
)

Parameters

entityId
Type: SystemGuid
The hierarchy parent entity.
hierarchy
Type: SystemString
The unique name of the hierarchy.
attribute
Type: SystemString
The unique name of the attribute hierarchy.
entitySaveOptions
Type: Dundas.BI.EntitiesEntitySaveOptions
The entity save options.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy or attribute is .
ArgumentExceptionentityId 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.
NoPrivilegeExceptionThe caller does not have permission to access the entity.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also