Database Connection Management Tips
AdgConnection objects exist in one of two modes, as reflected by the State property. Initially, AdgConnection objects are in the Closed state. After successful execution of the Open method, the AdgConnection object is in the Open state. When open, AdgConnection objects represent a live connection to the database and can be used with other DG objects and methods to perform access operations.
Prior to calling Open , you can use the SourceProfile property to modify connection parameters. Changes to SourceProfile affect subsequent Open method calls. The characteristics of the database connection cannot be changed when in the Open state. See the next topic Database Name Handling for a further introduction to SourceProfile .
See Also
AdgConnection Class
Open Method
SourceProfile Property
AdgConnection.State Property
Database Name Handling
Connecting to a Database