set Supported in On-premises modeSupported in Lease mode

Interface Information

>This API belongs to SentinelLmAdmin.dll.

>The corresponding library is License Manager administration library.

void set(String key, String value)

Sets a {key, value} pair in the LmAdminAttribute object.

Parameters

Argument Description
key [in]

The key for the LmAdminAttribute to be set.

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

value [in]

The value set for the corresponding key.

For example, '30' value can be specified for the SNTL_ATTR_LMADMINCONTEXT_NETWORK_TIMEOUT key.

Exception Handling

If unsuccessful, throws LmAdminException or UnsupportedEncodingException.