Share via


CDatabase::CanTransact

BOOLCanTransact()const;

Return Value

Nonzero if recordsets using this CDatabase object allow transactions; otherwise 0.

Remarks

Call this member function to determine whether the database allows transactions. For information about transactions, see the article in Visual C++ Programmer's Guide.

CDatabase OverviewClass MembersHierarchy Chart

See Also   CDatabase::BeginTrans, CDatabase::CommitTrans, CDatabase::Rollback