Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents a single database access session.
class CSession
Members
Methods
Cancels (terminates) the transaction. |
|
Closes the session. |
|
Commits the transaction. |
|
Returns information regarding a transaction. |
|
Opens a new session for the data source object. |
|
Begins a new transaction for this session. |
Remarks
One or more sessions can be associated with each provider connection (data source), which is represented by a CDataSource object. To create a new CSession for a CDataSource, call CSession::Open. To begin a database transaction, CSession provides the StartTransaction method. Once a transaction is started, you can commit to it using the Commit method, or cancel it using the Abort method.
Requirements
Header: atldbcli.h