IHierarchyServiceSetupAttributeHierarchy(Guid, String, String, String, EntitySaveOptions) Method

Setups an AttributeHierarchy object by linking it to a parent IHierarchy.

Namespace: Dundas.BI.Data.Metadata
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
AttributeHierarchy SetupAttributeHierarchy(
	Guid entityId,
	string hierarchy,
	string level,
	string attribute,
	EntitySaveOptions entitySaveOptions
)

Parameters

entityId  Guid
The hierarchy parent entity.
hierarchy  String
The unique name of the hierarchy.
level  String
The unique name of the hierarchy level.
attribute  String
The name of the attribute element.
entitySaveOptions  EntitySaveOptions
The entity save options.

Return Value

AttributeHierarchy
The attribute hierarchy.
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