Gets the most recent error for this object.
obj.GetError() where obj is an McExchAnalyzer.MailboxAnalyzer object.
None.
String.
To get an error after a function fails, enter:
Set obj = CreateObject("McExchAnalyzer.MailboxAnalyzer") If Not(obj.LogonToMAPI("EXCHANGE1", "Joe")) Then MsgBox "Could not logon. The error is " & obj.GetError() End If