ExchangeServiceBinding.FindFolder Method

Uses Exchange Web Services to find subfolders of an identified folder.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/FindFolder", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
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)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/FindFolder", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
public FindFolderResponseType FindFolder(
    FindFolderType FindFolder1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.FindFolderResponseType
A set of properties that describe the set of subfolders.

Remarks

This element lives in the SOAP envelope.

FindFolder is also used to find managed folders.

FindFolder returns only the first 512 bytes of any streamable property. For Unicode, it returns the first 255 characters by using a null-terminated Unicode string.

Sorting functionality and grouped queries are not available for FindFolder responses.

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace