ExchangeServiceBinding.CopyFolder Method

Copies folders in a mailbox.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
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)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("MailboxCulture")]
public CopyFolderResponseType CopyFolder(
    CopyFolderType CopyFolder1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.CopyFolderResponseType
An object representing a folder to copy.

Remarks

This element is contained in the SOAP envelope.

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace