ServicePRO SDK Help

ManageObjectsServicesManager..::..DeleteAParticularObject Method

Deletes a particular object by identifier.

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

Syntax


public void DeleteAParticularObject(
	string sessionKey,
	clsEnumeration..::..hsHelpStarObject Hobj,
	int LngId,
	Action<string, bool, Exception> callbackAction,
	bool bNeedConfirm
)
Public Sub DeleteAParticularObject ( _
	sessionKey As String, _
	Hobj As clsEnumeration..::..hsHelpStarObject, _
	LngId As Integer, _
	callbackAction As Action(Of String, Boolean, Exception), _
	bNeedConfirm As Boolean _
)

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.
Hobj
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsHelpStarObject
Type of the object.
LngId
Type: Int32
The object identifier.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.
bNeedConfirm
Type: Boolean
set to true for confirmation.