Partager via


ExchangeServiceBinding.DeleteFolder, méthode (Microsoft.SharePoint.Portal.WebControls)

Deletes a folder from the mailbox.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
Public Function DeleteFolder ( _
    DeleteFolder1 As DeleteFolderType _
) As DeleteFolderResponseType
'Utilisation
Dim instance As ExchangeServiceBinding
Dim DeleteFolder1 As DeleteFolderType
Dim returnValue As DeleteFolderResponseType

returnValue = instance.DeleteFolder(DeleteFolder1)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
public DeleteFolderResponseType DeleteFolder (
    DeleteFolderType DeleteFolder1
)

Paramètres

  • DeleteFolder1
    Represents the folder to delete from the mailbox.

Voir aussi

Référence

ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms