Compartilhar via


CSession::StartTransaction

Begins a new transaction for this session.

HRESULT StartTransaction( 
   ISOLEVEL isoLevel = ISOLATIONLEVEL_READCOMMITTED, 
   ULONG isoFlags = 0, 
   ITransactionOptions* pOtherOptions = NULL, 
   ULONG* pulTransactionLevel = NULL  
) const throw( );

Parameters

See ITransactionLocal::StartTransaction in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Remarks

For more information, see ITransactionLocal::StartTransaction in the OLE DB Programmer's Reference.

Requirements

Header: atldbcli.h

See Also

Reference

CSession Class