Expand Minimize
0 out of 2 rated this helpful - Rate this topic

ExchangeService.ConvertId method

EWS Managed API

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

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
public AlternateIdBase ConvertId(
	AlternateIdBase id,
	IdFormat destinationFormat
)

Parameters

id
Type: Microsoft.Exchange.WebServices.Data.AlternateIdBase

The ID to be converted.

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

The destination format for the ID.

Return value

Type: Microsoft.Exchange.WebServices.Data.AlternateIdBase
The converted 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. All rights reserved.