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("RequestServerVersionValue")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
public DeleteFolderResponseType DeleteFolder (
	DeleteFolderType DeleteFolder1
)
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
public DeleteFolderResponseType DeleteFolder (
	DeleteFolderType DeleteFolder1
)
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("MailboxCulture") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
public function DeleteFolder (
	DeleteFolder1 : DeleteFolderType
) : DeleteFolderResponseType

Parameters

DeleteFolder1

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

Return Value

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show: