Поделиться через


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)

Syntax

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

Parameters

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.