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.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|