ExchangeServiceBinding.SyncFolderHierarchy Method

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

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.SyncFolderHierarchyResponseType
The SyncFolderHierarchy method returns a SyncFolderHierarchyResponseType object that contains the set of changes to a folder hierarchy.