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("MailboxCulture")> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function SyncFolderItems ( _
    SyncFolderItems1 As SyncFolderItemsType _
) As SyncFolderItemsResponseType
[SoapHeaderAttribute("MailboxCulture")] 
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
public SyncFolderItemsResponseType SyncFolderItems (
    SyncFolderItemsType SyncFolderItems1
)
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
public:
SyncFolderItemsResponseType^ SyncFolderItems (
    SyncFolderItemsType^ SyncFolderItems1
)
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
public SyncFolderItemsResponseType SyncFolderItems (
    SyncFolderItemsType SyncFolderItems1
)
SoapHeaderAttribute("MailboxCulture") 
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ExchangeImpersonation") 
public function SyncFolderItems (
    SyncFolderItems1 : SyncFolderItemsType
) : SyncFolderItemsResponseType

Parameters

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

Return Value

The SyncFolderItems method returns a SyncFolderItemsResponseType object that contains the set of changes that were made to 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)