Jaa


ExchangeServiceBinding.CreateFolder Method

The CreateFolder method sends the request and gets the response to a CreateFolder operation.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/CreateFolder", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("TimeZoneContext")> _
Public Function CreateFolder ( _
    CreateFolder1 As CreateFolderType _
) As CreateFolderResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateFolder1 As CreateFolderType
Dim returnValue As CreateFolderResponseType

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

Parameters

Return Value

Type: ExchangeWebServices.CreateFolderResponseType
The CreateFolder method returns a CreateFolderResponseType object that contains the identifiers of the created folders.