This documentation is archived and is not being maintained.

ExchangeServiceBinding.DeleteFolder Method

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

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

<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
Public Function DeleteFolder ( _
	DeleteFolder1 As DeleteFolderType _
) As DeleteFolderResponseType
Dim instance As ExchangeServiceBinding
Dim DeleteFolder1 As DeleteFolderType
Dim returnValue As DeleteFolderResponseType

returnValue = instance.DeleteFolder(DeleteFolder1)


Type: ExchangeWebServices.DeleteFolderType
An instance of the DeleteFolderType class that represents a set of folders to delete.

Return Value

Type: ExchangeWebServices.DeleteFolderResponseType
The DeleteFolder method returns a DeleteFolderResponseType object that contains the status of the DeleteFolder operation.