ConnectToServer

Description

Connects a client application to a server component. The client application must call ConnectToServer before it can use a remote object on the server. This function applies to distributed applications only.

Applies to

Connection objects

Syntax

connection.ConnectToServer ( )

Returns

Long. Returns 0 if it succeeds or a negative value if an error occurs.