How to locate conflicts in an Exchange public folder?

Hi

does any one know how to locate all conflicts in a Exchange public folder. Is there an attribute that identifies them?
rcameroonAsked:
Who is Participating?
 
David LeeCommented:
There is a Conflicts object that is a property of every public folder post.  The code below will loop through a folder and display a dialog-box for every item that is in conflict.  Let me know if you need instructions on using code in Outlook.

Sub CheckConflicts()
    Dim olkObject As Object, _
        olkConflict As Outlook.Conflicts, _
        olkFolder As Outlook.Items
    Set olkFolder = Application.ActiveExplorer.CurrentFolder.Items
    For Each olkObject In olkFolder
        Set olkConflict = olkObject.Conflicts
        If olkConflict.Count > 0 Then
             MsgBox "Post: " & olkObject.Subject & vbCrLf & "is involved in a conflict."
        End If
    Next
    Set olkObject = Nothing
    Set olkConflict = Nothing
    Set olkFolder = Nothing
End Sub
0
 
David LeeCommented:
Greetings, rcameroon.

> all conflicts
What do you consider to be a conflict?

Cheers!
0
 
rcameroonAuthor Commented:
Sorry should have been more specific - a save conflict - meaning when 2 post items  are saved at the same time in replicated public folders.

When we are running a utility over the public folder it is erroring - so I need to remove all save conflicted messages before continuing.


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.