ServicePRO SDK Help

ManageObjectsServicesManager..::..RetireAsset Method

Retires the asset.

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

Syntax


public void RetireAsset(
	string sessionKey,
	int iObjId,
	bool bNeedToConfirmForReqAssocation,
	Action<string, bool, Exception> callbackAction
)
Public Sub RetireAsset ( _
	sessionKey As String, _
	iObjId As Integer, _
	bNeedToConfirmForReqAssocation As Boolean, _
	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.
iObjId
Type: Int32
The i object identifier.
bNeedToConfirmForReqAssocation
Type: Boolean
set to true. If need to confirmation for associated request.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.