This documentation is archived and is not being maintained.

ExchangeServiceBinding.GetUserAvailability Method

The GetUserAvailability method sends the request to and gets the response from a GetUserAvailability operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TimeZoneContext")> _
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)

Parameters

GetUserAvailabilityRequest
Type: ExchangeWebServices.GetUserAvailabilityRequestType
An instance of the GetUserAvailabilityRequestType class that represents the GetUserAvailability query.

Return Value

Type: ExchangeWebServices.GetUserAvailabilityResponseType
The GetUserAvailability method returns a GetUserAvailabilityResponseType object that contains the status of the GetUserAvailability operation and the availability information for requested users.
Show: