DISTERRORDESC Structure

Replication Programming

Replication Programming

DISTERRORDESC Structure

This is the definition of the DISTERRORDESC structure.

Syntax

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:
  • 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.