EWS Managed API How to get a property by its name

Exchange Web Service

This sample shows you how to use the Exchange Web Services EWS Managed API to get a property by its name.

Extended properties enable Microsoft Exchange Server clients to add customized properties to items and folders that are stored in an Exchange mailbox. Custom properties can be used to store data that is relevant to an object.

The following method accepts an instance of the ExchangeService class to connect to the Web Service Exchange. In this method we retrieve the first email message found after we run a query through EWS Managed API that filters on the existence of the extended property http://schemas.microsoft.com/exchange/junkemailmovestamp .

To start using EWS Managed API, see this article: http://dotnet-practice.com/utiliser-exchange-web-service-ews-managed-api/

Be the first to comment

Leave a Reply

Your email address will not be published.