This documentation is archived and is not being maintained.

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("", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public SubscribeResponseType Subscribe(
	SubscribeType 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.