Share via


ExchangeServiceBinding.CreateManagedFolder Method

Creates a managed folder in the Microsoft Exchange Server 2007 data store.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<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("SerializedSecurityContext")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("MailboxCulture")]
[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: Microsoft.SharePoint.Portal.WebControls.CreateManagedFolderResponseType
An object representing a folder to create.

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace