Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CopyFolder Method
Collapse the table of content
Expand the table of content

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)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
public CopyFolderResponseType CopyFolder (
	CopyFolderType CopyFolder1
)
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
public CopyFolderResponseType CopyFolder (
	CopyFolderType CopyFolder1
)
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("RequestServerVersionValue") 
public function CopyFolder (
	CopyFolder1 : CopyFolderType
) : CopyFolderResponseType

Parameters

CopyFolder1

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

Return Value

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show:
© 2015 Microsoft