Member name | Description |
---|---|
SAConnection constructors | Initializes a new instance of the SAConnection class. |
Member name | Description |
---|---|
ConnectionString property | Provides the database connection string. |
ConnectionTimeout property | Gets the number of seconds before a connection attempt times out with an error. |
DataSource property | Gets the name of the database server. |
Database property | Gets the name of the current database. |
InitString property | A command that is executed immediately after the connection is established. |
ServerVersion property | Gets a string that contains the version of the instance of SQL Anywhere to which the client is connected. |
State property | Indicates the state of the SAConnection object. |
Member name | Description |
---|---|
BeginTransaction methods | Starts a database transaction. |
ChangeDatabase method | Changes the current database for an open SAConnection. |
ChangePassword method | Changes the password for the user indicated in the connection string to the supplied new password. |
ClearAllPools method | Empties the connection pool. |
ClearPool method | Empties the connection pool associated with the specified connection. |
Close method | Closes a database connection. |
CreateCommand method | Initializes an SACommand object. |
![]() | |
GetSchema methods | Returns schema information for the data source of this ![]() |
Open method | Opens a database connection with the property settings specified by the SAConnection.ConnectionString. |
Member name | Description |
---|---|
InfoMessage event | Occurs when the SQL Anywhere database server returns a warning or informational message. |
StateChange event | Occurs when the state of the SAConnection object changes. |