Platform SDK: Transaction Server |
ITransactionOptions::GetOptions
The GetOptions method is used to read transaction attributes from a transaction options object.
HRESULT GetOptions(
XACTOPT * |
pOptions) |
Parameters
pOptions [out]
Pointer to a structure containing attribute information for a transaction options object. The szDescription field must be pre-allocated with a length of MAX_TRAN_DESC bytes. For a descripiton of the XACTOPT structure, see ITransactionOptions::SetOptions.
Return Values
S_OK
Success.
E_OUTOFMEMORY
Unable to allocate memory.
E_INVALIDARG
The value of pOptions is NULL.