ExchangeServiceBinding.DeleteFolder(DeleteFolderType) Method

Definition

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

public:
 ExchangeWebServices::DeleteFolderResponseType ^ DeleteFolder(ExchangeWebServices::DeleteFolderType ^ DeleteFolder1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
public ExchangeWebServices.DeleteFolderResponseType DeleteFolder (ExchangeWebServices.DeleteFolderType DeleteFolder1);
Public Function DeleteFolder (DeleteFolder1 As DeleteFolderType) As DeleteFolderResponseType

Parameters

DeleteFolder1
DeleteFolderType

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

Returns

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

Attributes

Applies to