Occurs when Microsoft Outlook encounters an error while synchronizing a user’s folders using the specified synchronization profile. This event is not available in VBScript.
Syntax
Sub object_OnError(Code as Long, Description as String)
object An expression that evaluates to a SyncObject object.
Code A unique value that identifies the error.
Description Required. A textual description of the error.