This is the definition of the DISTERRORDESC structure.
typedef struct tagDISTERRORDESC{
INT SourceType;
CHAR szSourceName[31];
CHAR szErrorCode[31];
BSTR bstrErrorText;
} DISTERRORDESC;
| Part | Description |
|---|---|
| SourceType | Identifies the type of the command. Microsoft® SQL Server™ 2000 supports the following command types:
|
| szSourceName | Name of the component responsible for the error (for example, ODBC). |
| szErrorCode | Error code string of the source. |
| bstrErrorText | Error text. |