다음을 통해 공유


CDatabase::CanTransact

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

BOOL CanTransact( ) const;

Return Value

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

Remarks

For information about transactions, see the article Transaction (ODBC).

Requirements

Header: afxdb.h

See Also

Reference

CDatabase Class

Hierarchy Chart

CDatabase::BeginTrans

CDatabase::CommitTrans

CDatabase::Rollback

Other Resources

CDatabase Members