ServicePRO SDK Help

ManageObjectsServicesManager..::..DeleteCategory Method

Deletes the category by identifier.

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

Syntax


public void DeleteCategory(
	string sessionKey,
	int catId,
	string catName,
	Action<bool, Exception> callbackAction
)
Public Sub DeleteCategory ( _
	sessionKey As String, _
	catId As Integer, _
	catName As String, _
	callbackAction As Action(Of Boolean, 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.
catId
Type: Int32
The category identifier.
catName
Type: String
Name of the category.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.