RequestServicesManager..::..GetProjectHierarchyCollection Method
Gets the collection of project hierarchy information.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetProjectHierarchyCollection( string userSessionKey, List<int> requestIds, int hierarchyType, Action<bool, ObservableCollection<HierarchyItem>, HierarchyItem, Exception> callback )
Public Sub GetProjectHierarchyCollection ( _ userSessionKey As String, _ requestIds As List(Of Integer), _ hierarchyType As Integer, _ callback As Action(Of Boolean, ObservableCollection(Of HierarchyItem), HierarchyItem, Exception) _ )
Parameters
- userSessionKey
- Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
- hierarchyType
- Type: Int32
Type of the hierarchy.(clsEnumeration.GetWhatForHierarchy)
- callback
- Type: Action<(Of <(<'Boolean, ObservableCollection<(Of <(<'HierarchyItem>)>)>, HierarchyItem, Exception>)>)>
The callback action.