Partager via


CRecordset::CanTransact

Determines whether the recordset allows transactions.

BOOL CanTransact( ) const;

Return Value

Nonzero if the recordset allows transactions; otherwise 0.

Remarks

For more information, see the article Transaction (ODBC).

Requirements

Header: afxdb.h

See Also

Reference

CRecordset Class

Hierarchy Chart

CDatabase::BeginTrans

CDatabase::CommitTrans

CDatabase::Rollback