This method will validate Program for web licensing based on provided Program ID. Method will check if there is a program with such ID and if web licensing is enabled for program.
Public Function WebLicensingValidateProgram(ByVal ProgramID As Integer) As Result
No authorization is required for this method.
|ProgramID||Integer||Program ID value|
In case of success Result.Status is set to STATUS_SUCCESS
In case of error appropriate error status code is returned.
Some of the error codes this method could return:
STATUS_PROGRAM_MISSING - there is no program with provided ID.
STATUS_PROGRAM_WEB_LICENSING_ERROR - program is present but web licensing is not enabled for program.
This method will increase error counter for a calling host in order to limit number of calls to this method.