OLE DB Programmer's Reference |
Returns a text description of the error.
HRESULT GetDescription ( BSTR *pbstrDescription);
Parameters
Return Code
Comments
If the lookup ID is IDENTIFIER_SDK_ERROR, the implementation of this method retrieves the error description from the error resource DLL shipped with the MDAC SDK. Otherwise, IErrorInfo::GetDescription calls IErrorLookup::GetErrorDescription to retrieve the string. If the description is parameterized, such as "Cannot open table <param1>," the lookup service incorporates the parameter values before returning the string.
IErrorLookup::GetErrorDescription
1998-2001 Microsoft Corporation. All rights reserved.