Icon GetServerSessionCount Method

function GetServerSessionCount: Integer

Usage

Call the GetServerSessionCount method to retrieve the total number of sessions on a database server. To get a total count of just the number of connected sessions on a database server use the GetServerConnectedSessionCount method instead.

Information This method is only valid when the engine is running as a database server and the EngineType is set to etServer.
Image