Поделиться через


ExchangeServiceBinding.UpdateFolder Method

The UpdateFolder method sends the request to and returns the response from an UpdateFolder operation.

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

Syntax

'Declaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("TimeZoneContext")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateFolder", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
Public Function UpdateFolder ( _
    UpdateFolder1 As UpdateFolderType _
) As UpdateFolderResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim UpdateFolder1 As UpdateFolderType
Dim returnValue As UpdateFolderResponseType

returnValue = instance.UpdateFolder(UpdateFolder1)
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("TimeZoneContext")]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/UpdateFolder", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public UpdateFolderResponseType UpdateFolder(
    UpdateFolderType UpdateFolder1
)

Parameters

Return Value

Type: ExchangeWebServices.UpdateFolderResponseType
The UpdateFolder method returns an UpdateFolderResponseType object that contains the updated folder identifiers.