Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

How find out whether or not a Meeting Request is for update to an existing meeting using EWS Managed API

$
0
0

Hi,

I am developing an application that would retrieve the the updated meetings from the calendar. I am using EWS Managed API. Although I have found the solution for finding the cancelled meeting buthaven't found the way to find the meeting requests for updates, i.e., to look at the meeting requests in the deleted or sent folders and find out the whether or not it is an update to an existing meeting. Then accordingly I will update the database of my application.

Any help will be highly appreciated

ExchangeService svc = new ExchangeService();
svc.Credentials = new WebCredentials("username", "password");
svc.AutodiscoverUrl("abcd@domain.com");

ItemView view = new ItemView(50);
SearchFilter searchFilter = new SearchFilter.IsEqualTo(ItemSchema.ItemClass, "IPM.Schedule.Meeting.Request");
FindItemsResults<Item> results = svc.FindItems(WellKnownFolderName.DeletedItems, searchFilter, view);

foreach (Item a in results)
{
var mr = a as MeetingRequest;

Debug.Write("Subject: " + mr.Subject.ToString() + " ");
Debug.Write("Id: " + mr.ICalUid);
Debug.Write("Id: " + mr.MeetingRequestType);//I need to findout is this request is for the update to the meeting or not but I am getting error
Debug.WriteLine("");
}


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>