Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DisconnectServer – PB Docs 2019 – PowerBuilder Library

DisconnectServer – PB Docs 2019

DisconnectServer

PowerScript function

Description

Disconnects a client application from a server application.

Applies to

Connection objects

Syntax

Argument

Description

connection

The name of the Connection object used to establish the
connection you want to delete

Return value

Long.

Returns 0 if it succeeds and one of the following values if an error
occurs:

50 — Distributed service error

52 — Distributed communications error

53 — Requested server not active

54 — Server not accepting requests

55 — Request terminated abnormally

56 — Response to request incomplete

57 — Not connected

62 — Server busy

Usage

After disconnecting from the server application, the client
application needs to destroy the Connection object.

DisconnectServer causes all remote objects and proxy objects created
for the client connection to be destroyed.

Examples

In this example, the client application disconnects from the server
application using the Connection object myconnect:

See also

ConnectToServer
(obsolete)


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x