Represents a connection to a SQL Anywhere database.
Public NotInheritable Class SAConnection Inherits System.Data.Common.DbConnection
public sealed class SAConnection : System.Data.Common.DbConnection
All members of SAConnection class, including all inherited members.
Name | Description |
---|---|
Initializes an SAConnection object. | |
BeginDbTransaction method (Inherited from System.Data.Common.DbConnection) |
Starts a database transaction. |
Returns a transaction object. | |
Changes the current database for an open SAConnection. | |
Changes the password for the user indicated in the connection string to the supplied new password. | |
Empties all connection pools. | |
Empties the connection pool associated with the specified connection. | |
Closes a database connection. | |
Initializes an SACommand object. | |
Enlists in the specified transaction as a distributed transaction. | |
Enlists in the specified transaction as a distributed transaction. | |
Returns the list of supported schema collections. | |
OnStateChange method (Inherited from System.Data.Common.DbConnection) |
Raises the System.Data.Common.DbConnection.StateChange event. |
Opens a database connection with the property settings specified by the SAConnection.ConnectionString. | |
Provides the database connection string. | |
Gets the number of seconds before a connection attempt times out with an error. | |
Gets the name of the current database. | |
Gets the name of the database server. | |
DbProviderFactory property (Inherited from System.Data.Common.DbConnection) |
Gets the System.Data.Common.DbProviderFactory for this System.Data.Common.DbConnection. |
A command that is executed immediately after the connection is established. | |
Gets a string that contains the version of the instance of SQL Anywhere to which the client is connected. | |
Indicates the state of the SAConnection object. | |
Occurs when the SQL Anywhere database server returns a warning or informational message. | |
Occurs when the state of the SAConnection object changes. |
For a list of connection parameters, see Connection parameters.
SAConnection constructor
BeginTransaction method
ChangeDatabase method
ChangePassword method
ClearAllPools method
ClearPool method
Close method
CreateCommand method
EnlistDistributedTransaction method
EnlistTransaction method
GetSchema method
Open method
ConnectionString property
ConnectionTimeout property
Database property
DataSource property
InitString property
ServerVersion property
State property
InfoMessage event
StateChange event
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |