ServicePRO SDK Help

RequestServicesManager..::..ApplyLockAsync Method

Lock a service request(for update).

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

Syntax


public Task<Concurrency> ApplyLockAsync(
	string userSessionKey,
	stcLockAdvisory requestLock
)
Public Function ApplyLockAsync ( _
	userSessionKey As String, _
	requestLock As stcLockAdvisory _
) As Task(Of Concurrency)

Parameters

userSessionKey
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.
requestLock
Type: HelpSTAR.PCL.Common..::..stcLockAdvisory
The request lock.

Return Value

Task with concurrency status, object identifier and looked by