ITransactionLocal::GetOptionsObject
Returns an object that can be used to specify configuration options for a subsequent call to ITransactionLocal::StartTransaction.
Syntax
HRESULT GetOptionsObject (
ITransactionOptions **ppOptions);
Parameters
- ppOptions
[out] A pointer to memory in which to return a pointer to the object that can be used to set extended transaction options.
Return Code
S_OK
The method succeeded.DB_E_NOTSUPPORTED
The provider does not support ITransactionOptions. A call to ITransactionLocal::GetOptionsObject should return DB_E_NOTSUPPORTED for 2.6-compliant providers and later. For earlier providers, the return code is unspecified.E_FAIL
A provider-specific error occurred.E_INVALIDARG
ppOptions was a null pointer.E_OUTOFMEMORY
Unable to allocate memory.E_UNEXPECTED
An unknown error occurred, and the method failed.