VLScgSetStandAloneFlag
Syntax
int VLScgSetStandAloneFlag (VLScg_HANDLE iHandle, codeT *codeP, char *flag);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
flag |
Flag values to set the standalone_flag of codeT struct. Legal values are: >VLScg_NETWORK_STRING >VLScg_STANDALONE_STRING >VLScg_REPOSITORY_STRING >VLScg_PERPETUAL_STRING (use VLScg_REPOSITORY_STRING instead for implementations prior to v8.5.0) |
Description
Sets whether the license will run in the standalone, network, or repository mode. Furthermore, standalone and network licenses cannot be used interchangeably.
Returns
The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:
Error Code | Description |
VLScg_INVALID_INT_TYPE |
If value is not numeric. |
VLScg_EXCEEDS_MAX_VALUE |
If value exceeds VLScg_REPOSITORY. |
VLScg_LESS_THAN_MIN_VALUE |
If the value is lower than VLScg_NETWORK. |
For the complete list of the error codes, refer to License Generation and Revocation Error Codes .