Partager via


CDaoDatabase::CanTransact

Call this member function to determine whether the database allows transactions.

BOOL CanTransact( );

Return Value

Nonzero if the database supports transactions; otherwise 0.

Remarks

Transactions are managed in the database's workspace.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoDatabase Class

CDaoDatabase Members

Hierarchy Chart

CDaoWorkspace::BeginTrans

CDaoWorkspace::CommitTrans

CDaoWorkspace::Rollback