Contents Index InfoMessage event ServerVersion property

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference
    AsaConnection class

Open method


Description 

Opens a connection to a database, using the previously-specified connection string.

Syntax 

void Open( )

Implements 

IDbConnection.Open

Usage 

The AsaConnection draws an open connection from the connection pool if one is available. Otherwise, it establishes a new connection to the data source.

If the AsaConnection goes out of scope, it is not closed. Therefore, you must explicitly close the connection by calling Close or Dispose.


Contents Index InfoMessage event ServerVersion property