IObjectContextInfo::IsInTransaction method (comsvcs.h)

Indicates whether the current object is executing in a transaction.

Syntax

BOOL IsInTransaction();

Return value

If the current object is executing within a transaction, the return value is TRUE. Otherwise, it is FALSE.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IObjectContextInfo