Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets whether objects involved in transactions are held until the transaction completes.
Syntax
HRESULT put_TransactionAffinity(
[in] BOOL fTxAffinity
);
Parameters
[in] fTxAffinity
TRUE if the objects are to be held and FALSE otherwise.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | comsvcs.h |