Gets the most recent error for this object.
obj.GetError() where obj is an OpScrUtil.TermServer object
None.
String.
To get an error after a function fails, enter:
Set obj = CreateObject("OpScrUtil.TermServer") If Not(obj.GetSessionInfo()) Then MsgBox "GetSessionInfo Failed. The error is " & obj.GetError() End If
This example shows how to the most recent error for the object.