ServicePRO SDK Help

ManageObjectsServicesManager..::..DeleteThisAndAllChildren Method

Delete specified queue and all children.

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

Syntax


public void DeleteThisAndAllChildren(
	string sessionKey,
	int QueueId,
	Action<bool, Exception> callbackAction
)
Public Sub DeleteThisAndAllChildren ( _
	sessionKey As String, _
	QueueId As Integer, _
	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.
QueueId
Type: Int32
The queue identifier.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.