MDAC 2.5 SDK - OLE DB Programmer's Reference
OLE DB Interfaces


 

ITransactionLocal::GetOptionsObject

Returns an object that can be used to specify configuration options for a subsequent call to ITransactionLocal::StartTransaction.

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.

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.

See Also

ITransactionLocal::StartTransaction, ITransactionOptions::SetOptions