Compartir a través de


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("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
Public Function CreateManagedFolder ( _
    CreateManagedFolder1 As CreateManagedFolderRequestType _
) As CreateManagedFolderResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateManagedFolder1 As CreateManagedFolderRequestType
Dim returnValue As CreateManagedFolderResponseType

returnValue = instance.CreateManagedFolder(CreateManagedFolder1)
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateManagedFolder", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
public CreateManagedFolderResponseType CreateManagedFolder(
    CreateManagedFolderRequestType CreateManagedFolder1
)

Parameters

Return Value

Type: ExchangeWebServices.CreateManagedFolderResponseType
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.