LsPmgmtContext Class

An LsPmgmtContext object contains the configuration settings that should be used by the API calls made using that LsPmgmtContext context object. The class also initializes and allocates resources necessary for the Sentinel RMS LsPmgmtContext library.

Constructors

Syntax Description

LsPmgmtContext(int device)

Creates an object of the LsPmgmtContext class for the specified device.

LsPmgmtContext(int device, LsPmgmtAttribute attribute)

Creates an object of the LsPmgmtContext class for the specified device. It also takes an LsPmgmtAttribute.

API

Modifier and Type API
int create(String input) throws LsPmgmtException or UnsupportedEncodingException
void dispose()
throws LsPmgmtException
int repair(scope)
int reset(scope)
String getInfo (String scope, String query)

For the complete list of error and result codes related to Unified API functions, refer to Persistence Library Error Codes.