CDBErrorInfo::GetBasicErrorInfo

调用 IErrorRecords::GetBasicErrorInfo 返回有关错误的基本信息,如返回代码并提供程序特定错误号。

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

参数

有关更多信息,请参见 IErrorRecords::GetBasicErrorInfoOLE DB 程序员参考 中。

返回值

标准版HRESULT

要求

标头: atldbcli.h

请参见

参考

CDBErrorInfo 类