ServicePRO SDK Help

ManageObjectsServicesManager..::..GetCategoryTypes Method

Gets collection of user defined types for specified HelpSTAR object type.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetCategoryTypes(
	string sessionKey,
	int catTypeId,
	Action<ObservableCollection<stcListItem>, Exception> callbackAction
)
Public Sub GetCategoryTypes ( _
	sessionKey As String, _
	catTypeId As Integer, _
	callbackAction As Action(Of ObservableCollection(Of stcListItem), Exception) _
)

Parameters

sessionKey
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.
catTypeId
Type: Int32
Category Type Id
Will bring the the type even if its not updateable or viewable to this user
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcListItem>)>)>, Exception>)>)>
The callback action.