Sends a ping request to the dbmlsync server to check if the connection is good and if the server is live and responding to requests.
Boolean Ping(UInt32 timeout)
You must be connected to a server to call this method.
timeout The maximum number of milliseconds to wait for the server to respond to the ping request. Use DBSC_INFINITY to wait forever.
The DBSC_INFINITY constant is defined within the DbmlSyncClient class and not in the namespace, so you need to preface the
constant. For example,
timeout = DbmlSyncClient.DBSC_INFINITY;.
Returns true if a response was received from the server to the ping request.
Returns false if a response to the ping request was not received. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|