| OLE DB Programmer's Reference |
Returns information regarding a transaction.
HRESULT GetTransactionInfo( XACTTRANSINFO *pInfo);
Parameters
typedef struct XACTTRANSINFO { XACTUOW uow; ISOLEVEL isoLevel; ULONG isoFlags; DWORD grfTCSupported; DWORD grfRMSupported; DWORD grfTCSupportedRetaining; DWORD grfRMSupportedRetaining; } XACTTRANSINFO; The elements of this structure are used as described in the following table.
| Element | Description |
|---|---|
| uow | The unit of work associated with this transaction. Cannot be NULL and must be unique per transaction. |
| isoLevel | The isolation level associated with this transaction. ISOLATIONLEVEL_UNSPECIFIED indicates that no isolation level was specified. For more information, see ITransactionLocal::StartTransaction. |
| isoFlags | Will be zero. |
| grfTCSupported | This bitmask indicates the XACTTC flags that this transaction implementation supports. |
| grfRMSupported | Will be zero. |
| grfTCSupportedRetaining | Will be zero. |
| grfRMSupportedRetaining | Will be zero. |
Return Code
1998-2001 Microsoft Corporation. All rights reserved.