ExchangeServiceBinding.CreateManagedFolder Method
The CreateManagedFolder method sends the request to and gets the response from a CreateManagedFolder operation.
Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
Syntax
'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
Public Function CreateManagedFolder ( _
CreateManagedFolder1 As CreateManagedFolderRequestType _
) As CreateManagedFolderResponseType
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("SerializedSecurityContext")]
public CreateManagedFolderResponseType CreateManagedFolder (
CreateManagedFolderRequestType CreateManagedFolder1
)
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"RequestServerVersionValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
public:
CreateManagedFolderResponseType^ CreateManagedFolder (
CreateManagedFolderRequestType^ CreateManagedFolder1
)
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */
/** @attribute SoapHeaderAttribute("MailboxCulture") */
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */
public CreateManagedFolderResponseType CreateManagedFolder (
CreateManagedFolderRequestType CreateManagedFolder1
)
SoapHeaderAttribute("ExchangeImpersonation")
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)
SoapHeaderAttribute("RequestServerVersionValue")
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)
SoapHeaderAttribute("MailboxCulture")
SoapHeaderAttribute("SerializedSecurityContext")
public function CreateManagedFolder (
CreateManagedFolder1 : CreateManagedFolderRequestType
) : CreateManagedFolderResponseType
Parameters
- CreateManagedFolder1
An instance of the CreateManagedFolderRequestType class that represents the managed folders to add to a mailbox.
Return Value
The CreateManagedFolder method returns a CreateManagedFolderResponseType object that contains the status of the CreateManagedFolder operation.
Remarks
To better understand how to implement this functionality, see the Managed Folder Selector Sample download.
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)
See Also
Reference
ExchangeServiceBinding Class
ExchangeServiceBinding Members
ExchangeWebServices Namespace