次の方法で共有


CDBErrorInfo::GetBasicErrorInfo

 

The latest version of this topic can be found at CDBErrorInfo::GetBasicErrorInfo.

Calls IErrorRecords::GetBasicErrorInfo to return basic information about the error, such as the return code and provider-specific error number.

Syntax

  
      HRESULT GetBasicErrorInfo(   
   ULONG ulRecordNum,   
   ERRORINFO* pErrorInfo    
) const throw( );  

Parameters

See IErrorRecords::GetBasicErrorInfo in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

CDBErrorInfo Class