Edit

Share via


ExchangeServiceBinding.SetUserOofSettings(SetUserOofSettingsRequest) Method

Definition

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

public:
 ExchangeWebServices::SetUserOofSettingsResponse ^ SetUserOofSettings(ExchangeWebServices::SetUserOofSettingsRequest ^ SetUserOofSettingsRequest);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ExchangeWebServices.SetUserOofSettingsResponse SetUserOofSettings (ExchangeWebServices.SetUserOofSettingsRequest SetUserOofSettingsRequest);

Parameters

SetUserOofSettingsRequest
SetUserOofSettingsRequest

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

Returns

The SetUserOofSettings(SetUserOofSettingsRequest) method returns a SetUserOofSettingsResponse object that contains the status of the SetUserOofSettings operation.

Attributes

Applies to