Connection Object

A Connection object represents an open connection to a data source.




Collections

Errors, Properties

Methods

BeginTrans, Cancel, Close, CommitTrans, Execute, Open, OpenSchema, RollbackTrans

Properties

Attributes, CommandTimeout, ConnectionString, ConnectionTimeout, CursorLocation, DefaultDatabase, IsolationLevel, Mode, Provider, State, Version

Remarks

A Connection object represents a unique session with a data source. In the case of a client/server database system, it may be equivalent to an actual network connection to the server. Depending on the functionality supported by the provider, some collections, methods, or properties of a Connection object may not be available.

Using the collections, methods, and properties of a Connection object, you can do the following:

You can create Connection objects independently of any other previously defined object.

See Also

ADO Providers


© 1997 Microsoft Corporation. All rights reserved. Terms of Use.