This documentation is archived and is not being maintained.

ExchangeServiceBinding.CopyItem Method

The CopyItem method sends the request to and gets the response from a CopyItem operation.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

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

Parameters

CopyItem1

An instance of the CopyItemType class that represents the items to copy and the destination folder that contains the copies.

Return Value

The CopyItem method returns a CopyItemResponseType object that contains the status of the CopyItem operation and the identifiers of the new items.

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: