ExchangeServiceBinding.Subscribe(SubscribeType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Subscribe(SubscribeType) method sends the request to and returns the response from a Subscribe operation.
public:
ExchangeWebServices::SubscribeResponseType ^ Subscribe(ExchangeWebServices::SubscribeType ^ Subscribe1);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/exchange/services/2006/messages/Subscribe", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare, Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("RequestServerVersionValue")]
[System.Web.Services.Protocols.SoapHeader("ServerVersionInfoValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("ExchangeImpersonation")]
[System.Web.Services.Protocols.SoapHeader("MailboxCulture")]
public ExchangeWebServices.SubscribeResponseType Subscribe (ExchangeWebServices.SubscribeType Subscribe1);
Public Function Subscribe (Subscribe1 As SubscribeType) As SubscribeResponseType
Parameters
- Subscribe1
- SubscribeType
An instance of the SubscribeType class that represents the folders and events to monitor.
Returns
The Subscribe(SubscribeType) method returns a SubscribeResponseType object that contains the status of the Subscribe operation, the subscription identifier, and the latest watermark for the subscription.
- Attributes