Поделиться через


ExchangeServiceBinding.SyncFolderItems Method

The SyncFolderItems method sends the request to and returns the response from a SyncFolderItems operation.

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

Syntax

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

returnValue = instance.SyncFolderItems(SyncFolderItems1)
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public SyncFolderItemsResponseType SyncFolderItems(
    SyncFolderItemsType SyncFolderItems1
)

Parameters

  • SyncFolderItems1
    Type: ExchangeWebServices.SyncFolderItemsType
    An instance of the SyncFolderItemsType class that represents the type of information to synchronize for a set of items in a folder.

Return Value

Type: ExchangeWebServices.SyncFolderItemsResponseType
The SyncFolderItems method returns a SyncFolderItemsResponseType object that contains the set of changes that were made to items.