Open this page in the API Guide

IUserHierarchyService.RemoveLevel Method

Removes the specified level.

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

Parameters

hierarchy
Type: Dundas.BI.Entities.UserHierarchies.UserHierarchy
The hierarchy.
levelUniqueName
Type: System.String
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 null.
ArgumentExceptionThe was null or empty.
NotFoundExceptionThe level with the specified unique name was not found.
See Also