IUserHierarchyServiceRemoveLevel Method

Removes the specified level.

Namespace:  Dundas.BI.Entities.UserHierarchies
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void RemoveLevel(
	UserHierarchy hierarchy,
	string levelUniqueName
)

Parameters

hierarchy
Type: Dundas.BI.Entities.UserHierarchiesUserHierarchy
The hierarchy.
levelUniqueName
Type: SystemString
The unique name of the level.
Exceptions
ExceptionCondition
InvalidOperationException

The entity has never been saved before.

-or-

The entity is not checked out to the caller.

InvalidSessionExceptionThe caller context is not associated with a valid session.
ArgumentNullExceptionhierarchy is .
ArgumentExceptionThe was or empty.
NotFoundExceptionThe level with the specified unique name was not found.
See Also