This documentation is archived and is not being maintained.

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)

<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function MoveFolder ( _
	MoveFolder1 As MoveFolderType _
) As MoveFolderResponseType
Dim instance As ExchangeServiceBinding
Dim MoveFolder1 As MoveFolderType
Dim returnValue As MoveFolderResponseType

returnValue = instance.MoveFolder(MoveFolder1)


Type: ExchangeWebServices.MoveFolderType
An instance of the MoveFolderType class that represents the set of folders to move.

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.