Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Properties

allocatedSessions (static integer)

Scroll Prev Top Next More

The total number of session licenses on the server including any clustered server sessions.

 

HostConnection.allocatedSessions

 

Arguments

 

HostConnection

 

Remarks

 

READONLY.

 

If you need to track a static list or array of objects, one per possible session on the server, use this static integer to learn the highest possible session that might be started.

 

This value includes all sessions including additional allocated sessions pre-allocated for other clustered servers when operating in a license cluster.

 

The following example demonstrates how to use the HostConnection class to retrieve the full number of allocated sessions.

 

 int totalAllocatedSessions=HostConnection.allocatedSessions;

 

Requirements

 

Inventu Viewer+

 

See Also

 

availableSessions | availablePooledSessions | sessionLicenses | sessionPooledLicenses | sessionNormalLicenses

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation