CDaoDatabase::CanTransact

BOOL CanTransact( );
throw( CDaoException, CMemoryException );

Return Value

Nonzero if the database supports transactions; otherwise 0.

Remarks

Call this member function to determine whether the database allows transactions. Transactions are managed in the database’s workspace. For information about transactions, see the article DAO Workspace: Managing Transactions in Visual C++ Programmer's Guide.

CDaoDatabase OverviewClass MembersHierarchy Chart

See Also   CDaoWorkspace::BeginTrans, CDaoWorkspace::CommitTrans, CDaoWorkspace::Rollback