다음을 통해 공유


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)

Syntax

'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
Public Function DeleteFolder ( _
    DeleteFolder1 As DeleteFolderType _
) As DeleteFolderResponseType
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("MailboxCulture")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteFolder", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
public DeleteFolderResponseType DeleteFolder (
    DeleteFolderType DeleteFolder1
)
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"MailboxCulture")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapDocumentMethodAttribute(L"https://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("https://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("https://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.

Thread Safety

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

Platforms

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)