ITransactionOptions::GetOptions

Returns transaction attributes from a transaction options object.

Syntax

HRESULT GetOptions ( XACTOPT* pOptions )

where

pOptions

[out] Is the pointer to the XACTOPT structure that is allocated by the caller. This structure is used to return attribute information from a transaction options object. The XACTOPT structure is described with the ITransactionOptions::SetOptions method earlier.

Returns

S_OK
Indicates succeeded.
E_OUTOFMEMORY
Indicates unable to allocate memory.
E_INVALIDARG
Indicates the value of pOptions is NULL.