Share via


ExchangeServiceBinding.GetUserAvailability Method

Provides detailed information about the availability of a set of users, rooms, and resources within a specified time span.

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

Syntax

'Declaration
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ProxyRequestTypeHeader")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
Public Function GetUserAvailability ( _
    GetUserAvailabilityRequest As GetUserAvailabilityRequestType _
) As GetUserAvailabilityResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim GetUserAvailabilityRequest As GetUserAvailabilityRequestType
Dim returnValue As GetUserAvailabilityResponseType

returnValue = instance.GetUserAvailability(GetUserAvailabilityRequest)
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ProxyRequestTypeHeader")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
public GetUserAvailabilityResponseType GetUserAvailability(
    GetUserAvailabilityRequestType GetUserAvailabilityRequest
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.GetUserAvailabilityResponseType
Provides current user availability information at a specified level of detail. Outlook Web Access uses Simple Mail Transfer Protocol (SMTP) addresses to identify the requested user information. The Availability service processes information requests for each client.

Remarks

This element lives in the SOAP envelope.

For more information, see GetUserAvailability Operation in the Exchange 2007 Web Services Reference.

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace