ExchangeService.ConvertIds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts multiple IDs from one format to another in a single call to Exchange Web Services (EWS).
public:
Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ConvertIdResponse ^> ^ ConvertIds(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::AlternateIdBase ^> ^ ids, Microsoft::Exchange::WebServices::Data::IdFormat destinationFormat);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ConvertIdResponse> ConvertIds (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.AlternateIdBase> ids, Microsoft.Exchange.WebServices.Data.IdFormat destinationFormat);
Public Function ConvertIds (ids As IEnumerable(Of AlternateIdBase), destinationFormat As IdFormat) As ServiceResponseCollection(Of ConvertIdResponse)
Parameters
The IDs to be converted.
- destinationFormat
- IdFormat
The destination format.
Returns
A collection of conversion results for each specified ID.
Remarks
The ConvertId operation does not work as expected when converting public folder identifiers from the EWS identifier to the store identifier in Exchange Online or on-premises versions of Exchange starting with Exchange Server 2013. You can manually update the identifier that is returned as a workaround