ResultCode Property  
 

Return the result code of the previous action.

Syntax

object.ResultCode

Remarks

The ResultCode read-only property returns the result of the last action performed by the client. This property should be checked after the Command method is used to execute a command on the server to determine if the operation was successful.

If the ResultCode property returns a value of true, that corresponds to an OK response from the server which indicates that the command was successful. If the property returns a value of false, that corresponds to an ERR response from the server which indicates that the command failed. The ResultString property typically returns more detailed information as to why the command failed.

Data Type

Boolean

See Also

ResultString Property, Command Method, OnCommand Event