Click to Rate and Give Feedback

  Switch on low bandwidth view
ExchangeServiceBinding.GetEvents Method

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

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
Visual Basic (Declaration)
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
Public Function GetEvents ( _
    GetEvents1 As GetEventsType _
) As GetEventsResponseType
C#
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)] 
[SoapHeaderAttribute("ExchangeImpersonation")] 
[SoapHeaderAttribute("RequestServerVersionValue")] 
[SoapHeaderAttribute("SerializedSecurityContext")] 
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)] 
[SoapHeaderAttribute("MailboxCulture")] 
public GetEventsResponseType GetEvents (
    GetEventsType GetEvents1
)
C++
[SoapDocumentMethodAttribute(L"http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)] 
[SoapHeaderAttribute(L"ExchangeImpersonation")] 
[SoapHeaderAttribute(L"RequestServerVersionValue")] 
[SoapHeaderAttribute(L"SerializedSecurityContext")] 
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)] 
[SoapHeaderAttribute(L"MailboxCulture")] 
public:
GetEventsResponseType^ GetEvents (
    GetEventsType^ GetEvents1
)
J#
/** @attribute SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */ 
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */ 
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */ 
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */ 
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */ 
/** @attribute SoapHeaderAttribute("MailboxCulture") */ 
public GetEventsResponseType GetEvents (
    GetEventsType GetEvents1
)
JScript
SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) 
SoapHeaderAttribute("ExchangeImpersonation") 
SoapHeaderAttribute("RequestServerVersionValue") 
SoapHeaderAttribute("SerializedSecurityContext") 
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) 
SoapHeaderAttribute("MailboxCulture") 
public function GetEvents (
    GetEvents1 : GetEventsType
) : GetEventsResponseType

Parameters

GetEvents1

An instance of the GetEventsType class that contains the identifier for a pull subscription and a specific watermark.

Return Value

The GetEvents method returns a GetEventsResponseType object that contains the status of the GetEvents operation and a notification that may contain a set of events for a subscription.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Server 2003, Windows Server 2008

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows 98 Second Edition, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows Vista, Windows Server 2008
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker