共用方式為


CSession::Abort

 

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

Terminates the transaction.

Syntax

  
      HRESULT Abort(   
   BOID* pboidReason = NULL,   
   BOOL bRetaining = FALSE,   
   BOOL bAsync = FALSE    
) const throw( );  

Parameters

See ITransaction::Abort in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

CSession Class