DISTERRORDESC Structure

Syntax

typedef struc tagDISTERRORDESC{
INT    SourceType;
CHAR    szSourceName[31];
CHAR    szErrorCode[31];
BSTR    bstrErrorText;
} DISTERRORDESC;

Part Description
SourceType Identifies the type of the command. Microsoft® SQL Server™ can handle the following command types:

APPLICATION
DISTOLE
OS

szSourceName Name of the component responsible for the error; for example, ODBC.
szErrorCode Error code string of the source.
bstrErrorText Error text.


(c) 1988-98 Microsoft Corporation. All Rights Reserved.