Click here for NewsObjects Overview
FaultCodeName Method (Connect Control) 
Windows - Visual C++


Description
The FaultCodeName method returns the string describing the name for the fault code. 

Syntax
CString name = FaultCodeName(long value);

The FaultCodeName syntax has these parts:

Part

Description

value

Long fault code.

name

String describing the name for this fault code.

 

Fault Code

Description

0

The requested server is not the primary server.

1

Primary server is down; must logon to secondary.

2

A server component has failed.

3

The primary server is down to perform administrative tasks.

4

All servers are down to perform administrative tasks.

5

The server is down because of a network error.

6

The server is down for unknown reasons.

Back to: Connect Methods