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)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://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)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
public SetUserOofSettingsResponse SetUserOofSettings(
SetUserOofSettingsRequest 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.
See Also