Reputation: 5971
Using Exchange Managed ApI, I need to get all appointments that have a created date that is newer or equal to a defined date. How do I do that?
Upvotes: 1
Views: 3171
Reputation: 5422
You can use the FindItems request to do this:
var items = service.FindItems(WellKnownFolderName.Calendar, new SearchFilter.IsGreaterThanOrEqualTo(ItemSchema.DateTimeCreated, DateTime.Today), new ItemView(100));
Note that you won't get recurring-appointment expansion, so only the master appointments of a recurring appointment is returned.
Upvotes: 5