Partager via


CreateManagedFolderRequestType Class

The CreateManagedFolderRequestType class represents a request to add a managed folder to a mailbox.

Inheritance Hierarchy

System.Object
  ExchangeWebServices.BaseRequestType
    ExchangeWebServices.CreateManagedFolderRequestType

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

Syntax

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

Remarks

Managed folders are created on the computer that is running Microsoft Exchange Server 2007. To programmatically add managed custom folders to a mailbox, use the CreateManagedFolderRequestType class. You can only add managed folders if a managed folder has already been defined by using either the Exchange Management Console or Exchange Management Shell. The CreateManagedFolder operation creates an instance of a managed folder based on a managed folder template that already exists in the Active Directory directory service.

Examples

For an example of how to use the CreateManagedFolderRequestType class, see Adding Managed Folders (Exchange Web Services). For a full sample that shows you how to implement managed folders from an application, see Managed Folder Selector Sample.

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.