EWS Managed API How to get a property by its tag

Exchange Web Service

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

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.

Sample method:

The following method GetPropertyByTag accepts an instance of the ExchangeService class to connect to the Exchange Web Service. In this method we retrieve the 5 first email message found after we run a query through EWS Managed API that filters on the existence of the extended property 0x0E1D (The normalized subject property) .

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.