Edit

Share via


ExchangeService.SetUserOofSettings(String, OofSettings) Method

Definition

Sets the Out of Office (OOF) settings for a specified mailbox.

public:
 void SetUserOofSettings(System::String ^ smtpAddress, Microsoft::Exchange::WebServices::Data::OofSettings ^ oofSettings);
public void SetUserOofSettings (string smtpAddress, Microsoft.Exchange.WebServices.Data.OofSettings oofSettings);

Parameters

smtpAddress
String

The SMTP address of the user for whom OOF settings are to be set.

oofSettings
OofSettings

The OOF settings.

Applies to