wodSSH ActiveX Control - LastError Property
      
 

Description

Holds the last error returned by the method.


Property type

An Integer value. Holds the last error returned.


Syntax

object.LastError



The LastError Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSH.

Remarks

When working in scripting environments, such as ASP or PowerBuilder, you are unable to retrieve information about possible error that was returned by previous executed method, you can use LastError property to read error that occurred.

To get string representation of the error, you can use code like this:

Debug.Print wodSSH1.ErrorText(wodSSH1.LastError)