Compartir a través de


SearchFolderType Class

The SearchFolderType class represents a search folder that is contained in a mailbox.

Inheritance Hierarchy

System.Object
  ExchangeWebServices.BaseFolderType
    ExchangeWebServices.FolderType
      ExchangeWebServices.SearchFolderType

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class SearchFolderType _
    Inherits FolderType
'Usage
Dim instance As SearchFolderType
[SerializableAttribute]
public class SearchFolderType : FolderType

Remarks

TheSearchFolderType class is used for both regular search folders and MicrosoftOfficeOutlook and Outlook Web Access visible search folders. For a search folder to be visible to Outlook and Outlook Web Access, the folder must be created under the SearchFolders distinguished folder.

Note

If you use the calendar:Organizer property to create a search folder that has a restriction, a subsequent GetFolder call will return the restriction with the message:from property instead of the calendar:Organizer property. These two properties map to the same underlying MAPI property.

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.