Export (0) Print
Expand All
Expand Minimize

ExchangeServiceBinding.Subscribe Method

The Subscribe method sends the request to and returns the response from a Subscribe operation.

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

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/Subscribe", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("MailboxCulture")]
public SubscribeResponseType Subscribe(
	SubscribeType Subscribe1
)

Parameters

Subscribe1
Type: ExchangeWebServices.SubscribeType
An instance of the SubscribeType class that represents the folders and events to monitor.

Return Value

Type: ExchangeWebServices.SubscribeResponseType
The Subscribe method returns a SubscribeResponseType object that contains the status of the Subscribe operation, the subscription identifier, and the latest watermark for the subscription.
Show:
© 2014 Microsoft