Partager via


ExchangeServiceBinding.ConvertId Method

The ConvertId method sends the request to and gets the response from a ConvertId operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/ConvertId", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
Public Function ConvertId ( _
    ConvertId1 As ConvertIdType _
) As ConvertIdResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim ConvertId1 As ConvertIdType
Dim returnValue As ConvertIdResponseType

returnValue = instance.ConvertId(ConvertId1)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/ConvertId", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public ConvertIdResponseType ConvertId(
    ConvertIdType ConvertId1
)

Parameters

Return Value

Type: ExchangeWebServices.ConvertIdResponseType
The ConvertId method returns a ConvertIdResponseType object that contains the status of a ConvertId operation and the converted identifiers.