To connect to a database, an SAConnection object must be created. The connection string can be specified when creating the object or it can be established later by setting the ConnectionString property.
A well-designed application should handle any errors that occur when attempting to connect to a database.
A connection to the database is created when the connection is opened and released when the connection is closed.
Connection pooling
Connection state
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |