Opens a connection with a dbmlsync server that is already running on this computer.
Boolean Connect(String host, Int32 port, String uid, String pwd)
The database user id and password passed in are used to validate whether this client has enough permissions to synchronize the database. When synchronizations are performed, the user id specified with the -c option when the dbmlsync server started is used.
host Reserved. Use null.
port The TCP port on which the server is listening. Use the same port value that you specified when the server was started using the StartServer method.
uid A valid database user id with DBA or REMOTE DBA authority on the remote database that is to be synchronized.
pwd The database password for the user specified by uid.
Returns true if a connection to the server was established.
Returns false if a connection to the server could not be established. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|