This documentation is archived and is not being maintained.

ExchangeServiceBinding.SetUserOofSettings Method

The SetUserOofSettings method sends the request to and returns the response from a SetUserOofSettings operation.

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

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function SetUserOofSettings ( _
	SetUserOofSettingsRequest As SetUserOofSettingsRequest _
) As SetUserOofSettingsResponse
'Usage
Dim instance As ExchangeServiceBinding
Dim SetUserOofSettingsRequest As SetUserOofSettingsRequest
Dim returnValue As SetUserOofSettingsResponse

returnValue = instance.SetUserOofSettings(SetUserOofSettingsRequest)

Parameters

SetUserOofSettingsRequest
Type: ExchangeWebServices.SetUserOofSettingsRequest
An instance of the SetUserOofSettingsRequest class that represents the Out of Office (OOF) setting to set.

Return Value

Type: ExchangeWebServices.SetUserOofSettingsResponse
The SetUserOofSettings method returns a SetUserOofSettingsResponse object that contains the status of the SetUserOofSettings operation.
Show: