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

Interface Information

>This API belongs to SentinelLicensing.dll.

>The corresponding library is Sentinel RMS licensing library.

Description

Sets a {key, value} pair in attribute object.

Syntax

void set(String key, String value) 

Parameters

Argument Description
key [in]

The key for the attribute to be set.

For example, SNTL_ATTR_APPCONTEXT_CONTACT_SERVER is the key for setting the License Manager.

value [in]

The value set for the corresponding key.

For example, 'localhost' value can be specified for the SNTL_ATTR_APPCONTEXT_CONTACT_SERVER key

Sets a {key, value} pair in attribute object.

Parameters

Exception Handling

If unsuccessful, throws LicensingException