Solved

How to locate conflicts in an Exchange public folder?

Posted on 2006-06-11
3
262 Views
Last Modified: 2010-04-08
Hi

does any one know how to locate all conflicts in a Exchange public folder. Is there an attribute that identifies them?
0
Comment
Question by:rcameroon
  • 2
3 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 16883940
Greetings, rcameroon.

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

Cheers!
0
 

Author Comment

by:rcameroon
ID: 16886445
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
 
LVL 76

Accepted Solution

by:
David Lee earned 125 total points
ID: 16892603
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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question