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
Syntaxpublic void Approve(
ResourceObject approvalRequest,
bool approve,
string reason = null
)
Public Sub Approve (
approvalRequest As ResourceObject,
approve As Boolean,
Optional reason As String = Nothing
)
public:
void Approve(
ResourceObject^ approvalRequest,
bool approve,
String^ reason = nullptr
)
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
See Also