Edit

Share via


CreateManagedFolderRequestType Class

Definition

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

public ref class CreateManagedFolderRequestType : ExchangeWebServices::BaseRequestType
public class CreateManagedFolderRequestType : ExchangeWebServices.BaseRequestType
Public Class CreateManagedFolderRequestType
Inherits BaseRequestType
Inheritance
CreateManagedFolderRequestType

Examples

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

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.

Constructors

CreateManagedFolderRequestType()

The CreateManagedFolderRequestType constructor initializes a new instance of the CreateManagedFolderRequestType class.

Properties

FolderNames

The FolderNames property gets or sets an array of managed folders to add to a mailbox. This property is required. This is a read/write property.

Mailbox

The Mailbox property gets or sets the e-mail address of the mailbox in which the managed folders are added. This property is optional. This is a read/write property.

Applies to