ServicePRO SDK Help

ManageObjectsServicesManager..::..RestoreAParticularObject Method

Restores a particular object by identifier.

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

Syntax


public void RestoreAParticularObject(
	string sessionKey,
	clsEnumeration..::..hsHelpStarObject Hobj,
	int LngId,
	Action<string, bool, Exception> callbackAction
)
Public Sub RestoreAParticularObject ( _
	sessionKey As String, _
	Hobj As clsEnumeration..::..hsHelpStarObject, _
	LngId As Integer, _
	callbackAction As Action(Of String, 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.
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.