Поделиться через


ExchangeServiceBinding.MoveFolder Method

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

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.MoveFolderResponseType
The MoveFolder method returns a MoveFolderResponseType object that contains the status of the MoveFolder operation and the new identifiers of the moved folders.