다음을 통해 공유


ExchangeServiceBinding.MoveItem Method

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

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

Syntax

'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
Public Function MoveItem ( _
    MoveItem1 As MoveItemType _
) As MoveItemResponseType
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
public MoveItemResponseType MoveItem (
    MoveItemType MoveItem1
)
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
public:
MoveItemResponseType^ MoveItem (
    MoveItemType^ MoveItem1
)
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
public MoveItemResponseType MoveItem (
    MoveItemType MoveItem1
)
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/MoveItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
public function MoveItem (
    MoveItem1 : MoveItemType
) : MoveItemResponseType

Parameters

  • MoveItem1
    An instance of the MoveItemType class that represents the set of items to move.

Return Value

The MoveItem method returns a MoveItemResponseType object that contains the status of the MoveItem operation and the new identifiers of the moved items.

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)