VLSdisableLicense
This function disables single-call licensing and returns the license code.
Syntax
LS_STATUS_CODE VLSdisableLicense (LS_HANDLE	 *lshandle );| Argument | Description | 
| lshandle | The handle which had been obtained earlier by a call to VLSlicense. | 
Returns
The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
| Error Code | Description | 
| VLS_CALLING ERROR | lshandle is an ambiguous handle; it is not exclusively active or exclusively queued. | 
| VLS_ALL_UNITS_RELEASED | All units have already been released. | 
| VLS_RETURN_FAILED | Generic error indicating that the license could not be returned. | 
| VLS_NO_SERVER_RUNNING | License Manager on specified host is not available for processing license operation requests. | 
| VLS_HOST_UNKNOWN | Invalid hostName is specified. | 
| VLS_NO_SERVER_RESPONSE | Communication with License Manager timed out. | 
| VLS_BAD_SERVER_MESSAGE | Message returned by server could not be understood. | 
| LS_NO_NETWORK | Generic error indicating that the network is unavailable for servicing the license operation. | 
| LS_NORESOURCES | An error occurred in attempting to allocate memory needed by function. | 
| VLS_INTERNAL_ERROR | An error occurred with respect to the serialization/customization of Sentinel RMS Development Kit files. | 
For a complete list of the error codes, see Licensing Library Error and Result Codes.
