MaxSessions Method
- Last UpdatedNov 06, 2025
- 1 minute read
The MaxSessions() method returns the maximum number of concurrent sessions of the specified client type that have been licensed. The client type is one of the types from the ClientTypes enumeration that signifies the client that is currently using the session. Examples of client types include Operator and DataEditor.
'Declaration
Public Function MaxSessions( _
ByVal clientType As ClientTypes _
) As Integer
public int MaxSessions(
ClientTypes clientType
)
Parameters
- clientType
- Required. Holds the client type for which the number of sessions is being retrieved.
Return Value
Returns an integer representing the maximum number of concurrent sessions.