LastRASErrorCode Property

AutoMate READ ONLY

 

Contains the error code of the last RAS command attempted.

 

Declaration

Dim LastRASErrorCode As Integer

 

Description

The LastRASErrorCode property contains the integer error code of the last RAS command attempted in the script. Use LastRASErrorCode to find out why a particular RAS command, such as RASConnect or RASDisconnect, failed.

 

LastRASErrorCode returns “0” if the last RAS command was successful; otherwise it returns a non-zero value.