ServicePRO SDK Help

ManageObjectsServicesManager..::..RestoreObjects Method

Restores a object.

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

Syntax


public void RestoreObjects(
	string sessionKey,
	clsEnumeration..::..hsHelpStarObject Hobj,
	ObservableCollection<int> objectCollection,
	Action<string, bool, Exception> callbackAction
)
Public Sub RestoreObjects ( _
	sessionKey As String, _
	Hobj As clsEnumeration..::..hsHelpStarObject, _
	objectCollection As ObservableCollection(Of 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.
objectCollection
Type: ObservableCollection<(Of <(<'Int32>)>)>
The object collection.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.