OP Get server version

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 Get server version (connectionID; serverVersion; serverRelease; serverUpdate) Longint

ParameterTypeDescription
connectionIDLongintConnection ID with target server
serverVersionLongintTarget server version number
serverReleaseLongintTarget server release number
serverUpdateLongintTarget server update number
Function resultLongintError code result for the function

Description

OP Get server version returns the version, release and update numbers of 4D Server. For example, 4D Server 1.2 would be returned as: serverVersion = 1, serverRelease = 2, and serverUpdate = 0.

Error Codes

If OP Get server version 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.


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