Share via


ExchangeServiceBinding.SetUserOofSettings Method

Sets a mailbox user's Out of Office settings and message.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

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

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.SetUserOofSettingsResponse

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace