lotus-noteslotus-dominointerop-domino

How do I return all conflict documents from a Notes Database?


I want to get all conflict documents from a Notes database. So far, i've got this:

Domino.NotesSession notesSession;
Domino.NotesDatabase notesDatabase = this.OpenDatabase(out notesSession);

Domino.NotesDateTime dateTime = notesSession.CreateDateTime(String.Empty);

Domino.NotesDocumentCollection results =
    notesDatabase.Search(this.SearchString, dateTime, 0);

It works with, for example:

searchString = "@Contains(ShortName;\"Bob\")";

How can I do the equivalent for conflict documents?


Solution

  • Try this:

    searchString = "@IsAvailable($Conflict)";