f2s_license_max_sessions

Applies to: Oracle, MS SQL, MySql/MariaDB, PostgreSQL Drivers

Syntax

**There is no set_attribute.  This attribute is read only.**
get_attribute f2s_license_max_sessions of {DriverID} to {variable}

Parameter

Description

DriverID

The ID of the driver for which this applies. In most cases, you should use _f2s_ActiveDriverID.

variable

Integer variable to hold the maximum number of concurrent sessions allowed by the license.

Description

Getting this attribute allows you to get the maximum number of sessions allowed by the current license

Examples

get_attribute

integer iMax
string sMessage

get_attribute f2s_license_max_sessions of _f2s_ActiveDriver to iMax
showln "(SFormat("The maximum number of concurrent sessions allowed on this license is %1.", iMax))

Replaces

MAXIMUM_NUMBER_OF_SESSIONS