Condividi tramite


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

Reference

CDaoDatabase Class

Hierarchy Chart

CDaoWorkspace::BeginTrans

CDaoWorkspace::CommitTrans

CDaoWorkspace::Rollback

Other Resources

CDaoDatabase Members