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
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
Public Function SetUserOofSettings ( _
SetUserOofSettingsRequest As SetUserOofSettingsRequest _
) As SetUserOofSettingsResponse
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)]
public SetUserOofSettingsResponse SetUserOofSettings (
SetUserOofSettingsRequest SetUserOofSettingsRequest
)
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)]
public:
SetUserOofSettingsResponse^ SetUserOofSettings (
SetUserOofSettingsRequest^ SetUserOofSettingsRequest
)
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */
public SetUserOofSettingsResponse SetUserOofSettings (
SetUserOofSettingsRequest SetUserOofSettingsRequest
)
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SetUserOofSettings", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)
public function SetUserOofSettings (
SetUserOofSettingsRequest : SetUserOofSettingsRequest
) : SetUserOofSettingsResponse
Parameters
- SetUserOofSettingsRequest
An instance of the SetUserOofSettingsRequest class that represents the Out of Office (OOF) setting to set.
Return Value
The SetUserOofSettings method returns a SetUserOofSettingsResponse object that contains the status of the SetUserOofSettings operation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
See Also