IUserHierarchyServiceInsertLevel Method (UserHierarchy, Int32, Guid, IListString) |
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 (9.0.0.1000)
SyntaxUserHierarchyLevel InsertLevel(
UserHierarchy hierarchy,
int levelIndex,
Guid entityId,
IList<string> defaultColumns
)
Function InsertLevel (
hierarchy As UserHierarchy,
levelIndex As Integer,
entityId As Guid,
defaultColumns As IList(Of String)
) As UserHierarchyLevel
UserHierarchyLevel^ InsertLevel(
UserHierarchy^ hierarchy,
int levelIndex,
Guid entityId,
IList<String^>^ defaultColumns
)
abstract InsertLevel :
hierarchy : UserHierarchy *
levelIndex : int *
entityId : Guid *
defaultColumns : IList<string> -> 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. - defaultColumns
- Type: System.Collections.GenericIListString
The default column names. The column names serve as a "hint" on how to generate the level.
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