Edit

Share via


ExchangeService.ConvertIds Method

Definition

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

ids
IEnumerable<AlternateIdBase>

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

Applies to