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


ExchangeServiceBinding.FindFolder Method

The FindFolder method sends the request to and gets the response from a FindFolder operation.

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

Syntax

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

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

Parameters

Return Value

Type: ExchangeWebServices.FindFolderResponseType
The FindFolder method returns a FindFolderResponseType object that contains the query result of the FindFolder operation.