Edit

Share via


ExchangeServiceBinding.CopyFolder(CopyFolderType) Method

Definition

The CopyFolder(CopyFolderType) method sends the request to and gets the response from a CopyFolder operation.

public:
 ExchangeWebServices::CopyFolderResponseType ^ CopyFolder(ExchangeWebServices::CopyFolderType ^ CopyFolder1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
public ExchangeWebServices.CopyFolderResponseType CopyFolder (ExchangeWebServices.CopyFolderType CopyFolder1);
Public Function CopyFolder (CopyFolder1 As CopyFolderType) As CopyFolderResponseType

Parameters

CopyFolder1
CopyFolderType

An instance of the CopyFolderType class that represents the folders to copy and the destination folder that contains the copies.

Returns

The CopyFolder(CopyFolderType) method returns a CopyFolderResponseType object that contains the status of the CopyFolder operation and the identifiers of the new folders.

Attributes

Applies to