Policy API's SetResponse method.
SetResponse Method—Sets the Response for a Configured Rule in the Policy
The SetResponse method sets the response for a configured rule in the policy.
The SetResponse method has the following format:
The SetResponse method accepts the following parameters: rule (PolicyMgtRule)
Specifies the rule whose response is being set. response (PolicyMgtResponse)
Specifies the response to set.
The SetResponse method returns one of the following values:
? 0 if the call is successful.
? -1 if the call is unsuccessful.