IUserHierarchyServiceInsertLevel Method (UserHierarchy, Int32, Guid) |
Inserts the level based on a native structure at the specified index.
Namespace:
Dundas.BI.Entities.UserHierarchies
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
SyntaxUserHierarchyLevel InsertLevel(
UserHierarchy hierarchy,
int levelIndex,
Guid entityId
)
Function InsertLevel (
hierarchy As UserHierarchy,
levelIndex As Integer,
entityId As Guid
) As UserHierarchyLevel
UserHierarchyLevel^ InsertLevel(
UserHierarchy^ hierarchy,
int levelIndex,
Guid entityId
)
abstract InsertLevel :
hierarchy : UserHierarchy *
levelIndex : int *
entityId : Guid -> UserHierarchyLevel
Parameters
- hierarchy
- Type: Dundas.BI.Entities.UserHierarchiesUserHierarchy
The hierarchy. - levelIndex
- Type: SystemInt32
The zero-based index at which level should be inserted. - entityId
- Type: SystemGuid
ID of the data source entity.
Return Value
Type:
UserHierarchyLevelThe level.
Exceptions| Exception | Condition |
|---|
| InvalidSessionException | The caller context is not associated with a valid session. |
| ArgumentNullException | hierarchy is . |
| NotSupportedException | The data structure with the specified ID cannot be used as a data source for the user hierarchy. |
| NotFoundException | The data structure with the specified ID doesn't exist or cannot be discovered. |
| ArgumentOutOfRangeException | levelIndex is not a valid level index. |
| InvalidOperationException | The entity has never been saved before. -or- The entity is not checked out to the caller. |
Remarks
The table is analyzed based on relationships with other tables in
existing levels.
See Also