Jaa


ExchangeServiceBinding.MoveItem Method

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

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

Syntax

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

returnValue = instance.MoveItem(MoveItem1)
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
public MoveItemResponseType MoveItem(
    MoveItemType MoveItem1
)

Parameters

Return Value

Type: ExchangeWebServices.MoveItemResponseType
The MoveItem method returns a MoveItemResponseType object that contains the status of the MoveItem operation and the new identifiers of the moved items.