Expand Minimize

ExchangeService.ConvertIds method

EWS Managed API

Converts multiple IDs from one format to another in a single call to Exchange Web Services (EWS).

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ServiceResponseCollection<ConvertIdResponse> ConvertIds(
	IEnumerable<AlternateIdBase> ids,
	IdFormat destinationFormat
)

Parameters

ids
Type: System.Collections.Generic.IEnumerable<AlternateIdBase>

The IDs to be converted.

destinationFormat
Type: Microsoft.Exchange.WebServices.Data.IdFormat

The destination format.

Return value

Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<ConvertIdResponse>
A collection of conversion results for each specified ID.

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.

Show:
© 2014 Microsoft