Share via


ExchangeServiceBinding.SyncFolderHierarchy Method

Synchronizes folders between the Microsoft Exchange Server 2007 server and the client.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderHierarchy", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
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)
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderHierarchy", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
public SyncFolderHierarchyResponseType SyncFolderHierarchy(
    SyncFolderHierarchyType SyncFolderHierarchy1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.SyncFolderHierarchyResponseType

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace