CreateManagedFolderRequestType Class

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

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

Syntax

'Declaration
<SerializableAttribute> _
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DesignerCategoryAttribute("code")> _
<XmlTypeAttribute(Namespace:="http://schemas.microsoft.com/exchange/services/2006/messages")> _
Public Class CreateManagedFolderRequestType
    Inherits BaseRequestType
[SerializableAttribute] 
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DesignerCategoryAttribute("code")] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/messages")] 
public class CreateManagedFolderRequestType : BaseRequestType
[SerializableAttribute] 
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
[DesignerCategoryAttribute(L"code")] 
[XmlTypeAttribute(Namespace=L"http://schemas.microsoft.com/exchange/services/2006/messages")] 
public ref class CreateManagedFolderRequestType : public BaseRequestType
/** @attribute SerializableAttribute() */ 
/** @attribute DebuggerStepThroughAttribute() */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute DesignerCategoryAttribute("code") */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/messages") */ 
public class CreateManagedFolderRequestType extends BaseRequestType
SerializableAttribute 
DebuggerStepThroughAttribute 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
DesignerCategoryAttribute("code") 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/messages") 
public class CreateManagedFolderRequestType extends 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.

Inheritance Hierarchy

System.Object
   ExchangeWebServices.BaseRequestType
    ExchangeWebServices.CreateManagedFolderRequestType

Example

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.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)