IContextTransactionInfo::GetTxIsolationLevelAndTimeout method
Retrieves the isolation level and timeout value of a transaction that is hosted in the root transaction context.
Syntax
HRESULT GetTxIsolationLevelAndTimeout(
[out] ISOLEVEL *pIsoLevel,
[out] DWORD *dwTime
);
Parameters
-
pIsoLevel [out]
-
The ISOLATIONLEVEL value for the transaction.
-
dwTime [out]
-
The timeout of the transaction, in seconds.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP with SP2 [desktop apps only] |
Minimum supported server |
Windows Server 2003 with SP1 [desktop apps only] |