GetError Method (MTA Log Analyzer)

Gets the most recent error for this object.

Syntax

obj.GetError()
where obj is an McExchAnalyzer.MTALogAnalyzer object.

Parameters

None.

Return Type

String.

Example

To get an error after a function fails, enter:

Set obj = CreateObject("McExchAnalyzer.MTALogAnalyzer")
If Not(obj.ParseLogfile("C:\19991125.log")) Then
MsgBox "Could not process log. The error is " & obj.GetError()
End If