version 1.5
OP Delete 4D Server (serverID) Longint
Parameter | Type | Description | |
serverID | Longint | Unique ID of server to be erased | |
Function result | Longint | Error code result for the function |
Description
OP Delete 4D Server clears the space in memory allocated to the process by the server.
This function clears the space in memory on the 4D Open client machine used to keep track of the network server location. Call this routine after you have closed all connections to a server.
If you apply this function to a server to which you are still connected, the routine does nothing and returns an error.
Error Codes
If the function was successful, OP Delete 4D Server returns 0. Otherwise this function returns one of the following errors:
Error Code | Description |
10128 | The 4D Open for 4th Dimension package has not been initialized. |
10133 | The server does not exist. |
10134 | The server is currently in use. It cannot be deleted. |
10154 | This command cannot be executed right now. |
See Also
OP Find 4D Server, OP Select 4D Server.