VLSgetRenewalStatus

Syntax

LS_STATUS_CODE VLSgetRenewalStatus (void);

This function has no arguments.

Description

Retrieves license renewal status as any of the listed return codes.

Returns the renewal status of the last successful license renewal made using LSUpdate. If the last operation that successfully renewed a license involved contacting the License Manager, this function returns VLS_REMOTE_UPDATE. If the last operation that successfully renewed a license did not involve contacting the License Manager (was done locally), this function returns the value VLS_LOCAL_UPDATE. If an update has not occurred, it returns VLS_NO_UPDATES_SO_FAR.

Returns

Returns the following status codes:

Error Code Description

VLS_NO_UPDATES_SO_FAR

No updates have been made at all.

VLS_LOCAL_UPDATE

During the most recent update, the license was found and only local renewal was performed.

VLS_REMOTE_UPDATE

During the most recent update, the license was found but remote renewal from the License Manager was performed.