ResultCode Property  
 

Return the result code of the previous action.

Syntax

object.ResultCode

Remarks

The ResultCode read-only property returns the result code of the last action performed by the client. Result codes are either Boolean (in which a zero value indicates an error and a non-zero value indicates success), or are three-digit numeric values returned by the server. If the result codes fall into the later category, they may be broken down into the following ranges:

Value Description
100-199 Positive preliminary result. This indicates that the requested action is being initiated, and the client should expect another reply from the server before proceeding.
200-299 Positive completion result. This indicates that the server has successfully completed the requested action.
300-399 Positive intermediate result. This indicates that the requested action cannot complete until additional information is provided to the server.
400-499 Transient negative completion result. This indicates that the requested action did not take place, but the error condition is temporary and may be attempted again.
500-599 Permanent negative completion result. This indicates that the requested action did not take place.

Data Type

Integer (Int32)

See Also

ResultString Property