ExchangeServiceBinding.CopyItem(CopyItemType) Method

Definition

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

public:
 ExchangeWebServices::CopyItemResponseType ^ CopyItem(ExchangeWebServices::CopyItemType ^ CopyItem1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/CopyItem", 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("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ExchangeWebServices.CopyItemResponseType CopyItem (ExchangeWebServices.CopyItemType CopyItem1);
Public Function CopyItem (CopyItem1 As CopyItemType) As CopyItemResponseType

Parameters

CopyItem1
CopyItemType

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

Returns

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

Attributes

Applies to