ExchangeService.ConvertIds 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在单个调用 Exchange Web Services (EWS) 中,将多个 ID 从一种格式转换为另一种格式。
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)
参数
要转换的 ID。
- destinationFormat
- IdFormat
目标格式。
返回
每个指定 ID 的转换结果集合。
注解
从 Exchange Server 2013 开始,在 Exchange Online 或本地版本的 Exchange 中将公用文件夹标识符从 EWS 标识符转换为存储标识符时,ConvertId 操作无法按预期工作。 可以手动更新作为解决方法返回的标识符