ServicePRO SDK Help

ManageObjectsServicesManager..::..RestoreAParticularObjectByName Method

Restores a particular object by name.

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

Syntax


public void RestoreAParticularObjectByName(
	string sessionKey,
	clsEnumeration..::..hsHelpStarObject Hobj,
	string objName,
	Action<string, bool, Exception> callbackAction
)
Public Sub RestoreAParticularObjectByName ( _
	sessionKey As String, _
	Hobj As clsEnumeration..::..hsHelpStarObject, _
	objName As String, _
	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.
objName
Type: String
Name of the object.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.