Icon GetServerConnectedSessionCount Method

function GetServerConnectedSessionCount: Integer

Usage

Call the GetServerConnectedSessionCount method to retrieve the total number of connected sessions on a database server. Sessions that are present on the server, but not connected, are not reported in this figure. To get a total count of the number of sessions on the database server use the GetServerSessionCount 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