ExchangeServiceBinding.MoveFolder Method
Moves folders from a specified folder and puts them in another folder.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveFolder", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
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)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveFolder", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public MoveFolderResponseType MoveFolder(
MoveFolderType MoveFolder1
)
Parameters
- MoveFolder1
Type: Microsoft.SharePoint.Portal.WebControls.MoveFolderType
Folder to move.
Return Value
Type: Microsoft.SharePoint.Portal.WebControls.MoveFolderResponseType