OP Count user processes

4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next

version 1.5


OP Count user processes (connectionID; countProcesses) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
countProcessesLongintNumber of running users processes
Function resultLongintError code result for the function

Description

OP Count user processes returns in countProcesses the number of user processes on the designated server.

Error Codes

If OP Count user processes executes successfully, it returns 0. Otherwise, this function returns one of the following errors:

Error CodeDescription
10128The 4D Open for 4th Dimension package has not been initialized.
10136The connection does not exist.
10154This command cannot be executed right now.

See Also

Count user processes, OP Count connected users.


4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next