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)

'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("http://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)

Parameters

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.
Show: