ServicePRO SDK Help

KnowledgeBaseServiceManager..::..GetFolderIdFromCategoryId Method

Gets the folder identifier from a category identifier.

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

Syntax


public void GetFolderIdFromCategoryId(
	int categoryId,
	string userSessionKey,
	Action<int, Exception> callbackAction
)
Public Sub GetFolderIdFromCategoryId ( _
	categoryId As Integer, _
	userSessionKey As String, _
	callbackAction As Action(Of Integer, Exception) _
)

Parameters

categoryId
Type: Int32
The category identifier.
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.
callbackAction
Type: Action<(Of <(<'Int32, Exception>)>)>
The callback action.