VLScgSetRedundantFlag

Syntax

int VLScgSetRedundantFlag (VLScg_HANDLE iHandle, codeT *codeP, char *flag);
Argument Description

iHandle

The instance handle for this library.

codeP

The pointer to the codeT struct.

flag

Valid values are:

>VLScg_NON_REDUNDANT_CODE_STRING - Non-redundant license = “0”

>VLScg_REDUNDANT_CODE_STRING - Redundant license = “1”

Description

Controls whether the license will be used with redundant License Managers.

Redundancy allows the total number of licenses to remain available to the enterprise even if one or more License Managers fail.

Returns

The status code VLScg_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code

Description

VLScg_EXCEEDS_MAX_VALUE

If value exceeds VLScg_REDUNDANT_CODE.

VLScg_LESS_THAN_MIN_ VALUE

If value is less than VLScg_NON_REDUNDANT_CODE.

VLScg_INVALID_INT_TYPE If the value is not numeric.

For the complete list of the error codes, refer to License Generation and Revocation Error Codes .