Compartir a través de


CDataConnection Members

Methods

CDataConnection

Constructor. Instantiates and initializes a CDataConnection object.

Copy

Creates a copy of an existing data connection.

Open

Opens a connection to a data source using an initialization string.

OpenNewSession

Opens a new session on the current connection.

Operators

operator BOOL

Determines whether the current session is open or not.

operator bool

Determines whether the current session is open or not.

operator CDataSource&

Returns a reference to the contained CDataSource object.

operator CDataSource*

Returns a pointer to the contained CDataSource object.

operator CSession&

Returns a reference to the contained CSession object.

operator CSession*

Returns a pointer to the contained CSession object.

See Also

Concepts

CDataConnection Class