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
<SoapDocumentMethodAttribute("https://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 As CopyFolderType _
) As CopyFolderResponseType
[SoapDocumentMethodAttribute("https://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
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/CopyFolder", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapHeaderAttribute(L"RequestServerVersionValue")]
public:
CopyFolderResponseType^ CopyFolder (
CopyFolderType^ CopyFolder1
)
/** @attribute SoapDocumentMethodAttribute("https://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("https://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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
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)
See Also
Reference
ExchangeServiceBinding Class
ExchangeServiceBinding Members
ExchangeWebServices Namespace