repair Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Interface Information

This API belongs to SentinelLsPmgmtclean.jar.

Description

Fixes the corrupted persistence data. For information on when to use the repair operation, refer to Cleaning Persistence Data Using Unified API.

Syntax

repair(String scope)

Parameters

Parameter Description
scope [in]

Defines the Sentinel RMS SDK version to repair the persistence files. The input is an XML structure:

<peristenceScope>
    <productVersion>9.8.0</productVersion>
</persistenceScope>

productVersion is the product version where repairing is required.

Repair is context-dependent that means, in case of network license, RMS License Manager version would be the product version. And in case of standalone license, client library version would be the product version. The product version is a composition of major version.minor version.patch version. For example, 9.8.0.

Usage Notes

>Administrator privileges are required to use this API.

>When performing the repair operation, make sure the licensed application/License Manager must be stopped.

Returns

If unsuccessful, throws LsPmgmtException.