ServicePRO SDK Help

ManageObjectsServicesManager..::..RetireCategory Method

Retires the specified category.

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

Syntax


public void RetireCategory(
	string sessionKey,
	int catId,
	ObservableCollection<stcCategory> categoryNodes,
	Action<bool, Exception> callbackAction
)
Public Sub RetireCategory ( _
	sessionKey As String, _
	catId As Integer, _
	categoryNodes As ObservableCollection(Of stcCategory), _
	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.
categoryNodes
Type: ObservableCollection<(Of <(<'stcCategory>)>)>
The collection of category.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.