Sdílet prostřednictvím


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

Parameters

  • SyncFolderHierarchy1
    An instance of the SyncFolderHierarchyType class that represents the type of information to synchronize for a folder hierarchy.

Return Value

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

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)