Click or drag to resize

ResourceManagementClientApprove Method

Approves or rejects a pending request

Namespace:  Lithnet.ResourceManagement.Client
Assembly:  Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntax
public void Approve(
	ResourceObject approvalRequest,
	bool approve,
	string reason = null
)

Parameters

approvalRequest
Type: Lithnet.ResourceManagement.ClientResourceObject
The approval object to process.The object must be in the 'pending' state
approve
Type: SystemBoolean
A value indicating is the request should be approved
reason (Optional)
Type: SystemString
An optional reason for the approval or rejection
Remarks
It is recommended to use the GetApprovals(ApprovalStatus) method to obtain the pending approval request
See Also