Indicates the reason for a method call failure.
public enum DBSC_ErrorType
Member name | Description | Value |
---|---|---|
DBSC_ERR_OK |
No error occurred. |
1 |
DBSC_ERR_NOT_INITIALIZED |
The class has not been initialized by calling the Init method. |
2 |
DBSC_ERR_ALREADY_INITIALIZED |
The Init method was called on a class that was already initialized. |
3 |
DBSC_ERR_NOT_CONNECTED |
No connection to a dbmlsync server is in place. |
4 |
DBSC_ERR_CANT_RESOLVE_HOST |
Cannot resolve host information. |
5 |
DBSC_ERR_CONNECT_FAILED |
Connection to the dbmlsync server has failed. |
6 |
DBSC_ERR_INITIALIZING_TCP_LAYER |
Error initializing TCP layer. |
7 |
DBSC_ERR_ALREADY_CONNECTED |
Connect method failed because a connection was already in place. |
8 |
DBSC_ERR_PROTOCOL_ERROR |
This is an internal error. |
9 |
DBSC_ERR_CONNECTION_REJECTED |
The connection was rejected by the dbmlsync server. str1 points to a string returned by the server which may provide more information about why the connection attempt was rejected. |
10 |
DBSC_ERR_TIMED_OUT |
The timeout expired while waiting for a response from the server. |
11 |
DBSC_ERR_STILL_CONNECTED |
Could not Fini the class because it is still connected to the server. |
12 |
DBSC_ERR_SYNC_NOT_CANCELED |
The server could not cancel the synchronization request, likely because the synchronization was already in progress. |
14 |
DBSC_ERR_INVALID_VALUE |
An invalid property value was passed to the SetProperty method. |
15 |
DBSC_ERR_INVALID_PROP_NAME |
The specified property name is not valid. |
16 |
DBSC_ERR_VALUE_TOO_LONG |
The property value is too long; properties must be less than DBCS_MAX_PROPERTY_LEN bytes long. |
17 |
DBSC_ERR_SERVER_SIDE_ERROR |
A server-side error occurred while cancelling or adding a sync. str1 points to a string returned by the server which may provide more information about the error. |
18 |
DBSC_ERR_CREATE_PROCESS_FAILED |
Unable to start a new dbmlsync server. |
20 |
DBSC_ERR_READ_FAILED |
TCP error occurred while reading data from the dbmlsync server. |
21 |
DBSC_ERR_WRITE_FAILED |
TCP error occurred while sending data to the dbmlsync server. |
22 |
DBSC_ERR_NO_SERVER_RESPONSE |
Failed to receive a response from the server that is required to complete the requested action. |
23 |
DBSC_ERR_UID_OR_PWD_TOO_LONG |
The UID or PWD specified is too long. |
24 |
DBSC_ERR_UID_OR_PWD_NOT_VALID |
The UID or PWD specified is not valid. |
25 |
DBSC_ERR_INVALID_PARAMETER |
One of the parameters passed to the function was not valid. |
26 |
DBSC_ERR_WAIT_FAILED |
An error occurred while waiting for the server to shutdown. |
27 |
DBSC_ERR_SHUTDOWN_NOT_CALLED |
WaitForServerShutdown method was called without first calling the ShutdownServer method. |
28 |
DBSC_ERR_NO_SYNC_ACK |
A synchronization request was sent to the server but no acknowledgement was received; There is no way to know if the server received the request. hdl1 is the handle for the sync request that was sent. If the server received the request, this handle can be used to identify events for the synchronization retrieved using the GetEvent method. |
29 |
DBSC_ERR_ACTIVE_SYNC_NOT_CANCELED |
The server could not cancel the synchronization request because the synchronization was active. |
30 |
DBSC_ERR_DEAD_SERVER |
The dbmlsync server has encountered an error while starting up. The server is now shutting down. Use the dbmlsync -o option to log the error message to a file. |
31 |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |