Partager via


ExchangeService.ConvertId(AlternateIdBase, IdFormat) Méthode

Définition

Convertit un ID d’un format en un autre format dans un seul appel EWS (Exchange Web Services).

public:
 Microsoft::Exchange::WebServices::Data::AlternateIdBase ^ ConvertId(Microsoft::Exchange::WebServices::Data::AlternateIdBase ^ id, Microsoft::Exchange::WebServices::Data::IdFormat destinationFormat);
public Microsoft.Exchange.WebServices.Data.AlternateIdBase ConvertId(Microsoft.Exchange.WebServices.Data.AlternateIdBase id, Microsoft.Exchange.WebServices.Data.IdFormat destinationFormat);
Public Function ConvertId (id As AlternateIdBase, destinationFormat As IdFormat) As AlternateIdBase

Paramètres

id
AlternateIdBase

ID à convertir.

destinationFormat
IdFormat

Format de destination de l’ID.

Retours

ID converti.

Remarques

L’opération ConvertId ne fonctionne pas comme prévu lors de la conversion des identificateurs de dossier public de l’identificateur EWS en identificateur de magasin dans Exchange Online ou les versions locales d’Exchange à compter de Exchange Server 2013. Vous pouvez mettre à jour manuellement l’identificateur retourné comme solution de contournement

S’applique à