ExchangeServiceBinding.CopyFolder Method
The CopyFolder method sends the request to and gets the response from a CopyFolder operation.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function CopyFolder ( _
CopyFolder1 As CopyFolderType _
) As CopyFolderResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CopyFolder1 As CopyFolderType
Dim returnValue As CopyFolderResponseType
returnValue = instance.CopyFolder(CopyFolder1)
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
public CopyFolderResponseType CopyFolder(
CopyFolderType CopyFolder1
)
Parameters
- CopyFolder1
Type: ExchangeWebServices.CopyFolderType
An instance of the CopyFolderType class that represents the folders to copy and the destination folder that contains the copies.
Return Value
Type: ExchangeWebServices.CopyFolderResponseType
The CopyFolder method returns a CopyFolderResponseType object that contains the status of the CopyFolder operation and the identifiers of the new folders.
See Also