다음을 통해 공유


CSession::StartTransaction

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CSession::StartTransaction.

Begins a new transaction for this session.

Syntax

  
      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

CSession Class