Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CopyItem", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
Public Function CopyItem ( _
	CopyItem1 As CopyItemType _
) As CopyItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CopyItem1 As CopyItemType
Dim returnValue As CopyItemResponseType

returnValue = instance.CopyItem(CopyItem1)

Parameters

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

Return Value

Type: ExchangeWebServices.CopyItemResponseType
The CopyItem method returns a CopyItemResponseType object that contains the status of the CopyItem operation and the identifiers of the new items.
Show:
© 2015 Microsoft