GetError Method (Public Folder Analyzer)

Gets the most recent error for this object.

Syntax

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

Parameters

None.

Return Type

String.

Example

To get an error after a function fails, enter:

Set obj = CreateObject("McExchAnalyzer.PublicFolderAnalyzer")
If Not(obj.LogonToMAPI("EXCHANGE1", "Joe")) Then
MsgBox "Could not logon. The error is " & obj.GetError()
End If