Partager via


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("ProxyRequestTypeHeader")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
Public Function GetUserAvailability ( _
    GetUserAvailabilityRequest As GetUserAvailabilityRequestType _
) As GetUserAvailabilityResponseType
[SoapHeaderAttribute("ProxyRequestTypeHeader")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
public GetUserAvailabilityResponseType GetUserAvailability (
    GetUserAvailabilityRequestType GetUserAvailabilityRequest
)
[SoapHeaderAttribute(L"ProxyRequestTypeHeader")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
public:
GetUserAvailabilityResponseType^ GetUserAvailability (
    GetUserAvailabilityRequestType^ GetUserAvailabilityRequest
)
/** @attribute SoapHeaderAttribute("ProxyRequestTypeHeader") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
public GetUserAvailabilityResponseType GetUserAvailability (
    GetUserAvailabilityRequestType GetUserAvailabilityRequest
)
SoapHeaderAttribute("ProxyRequestTypeHeader") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
public function GetUserAvailability (
    GetUserAvailabilityRequest : GetUserAvailabilityRequestType
) : GetUserAvailabilityResponseType

Parameters

Return Value

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

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)