Defines the connection to the database server.
|
Constructor. |
|
Closes the connection with the database. | |
|
Gets the connDatabase Object controlling this connection. | |
|
Returns the names of the available tables in the database as an array of stings. | |
|
Gets the connection status. | |
|
Returns a copy of the current instance. For internal use only. | |
|
Opens a connection to the database server. | |
|
Sets the new connDatabase Object. |
|
Name |
Type |
Description |
|
String |
Sets the D3 account password. | |
|
String |
Sets the connection's account. | |
|
Boolean |
Enables debugging. | |
|
String |
Sets the connection's host name or IP address. | |
|
String |
Sets the password. | |
|
Integer |
Sets the connection's TCP socket port. | |
|
Integer |
Returns the current status of the connection. See the constants in the connDatabase class for a description of the connection status values. | |
|
|
String |
Returns the status message for the specified status code. |
|
String |
Returns the current status message of the connection. | |
|
String |
Sets the connection's user name. |
|
Name |
Type |
Description |
|
Event |
Event thrown when the connection is opened. | |
|
Event |
Event thrown when the connection is closed. |
The table below list the error codes returned by the PickDP account when trying to establish a connection.
|
Name |
Value |
Value returned and Description |
|
97 |
Error returned when the demo (temporary) license activation expires. | |
|
80 |
Error returned when attempting to open an account that is not exposed, does not exist, or is password protected. | |
|
100 |
Error returned on invalid user names and passwords. | |
|
93 |
Error returned when the maximum number of licenses is exceeded. | |
|
81 |
Error returned when attempting to log on to an account that does not exist or is password protected. | |
|
95 |
Error returned when attempting to use ADO.NET features on a system not licensed for ADO.NET. | |
|
98 |
Error returned when no Pick Data Provider licenses are available to service the call. | |
|
84 |
Error returned when the temporary file containing the current connection's information does not exist. | |
|
89 |
Error returned when the host server could not be reached. | |
|
85 |
Error returned when the connection log file does not exist. | |
|
82 |
| |
|
83 |
Error returned when the database's master table is not found or is corrupted. | |
|
92 |
Error returned on an unlicensed system. | |
|
88 |
Error returned when the Pick Data Provider users file defined in MASTER does not exist. | |
|
90 |
Error returned when a socket error occurs. | |
|
0 |
No error. | |
|
99 |
Error returned on invalid license information. | |
|
91 |
Error returned on invalid license information. |