ExchangeService.SubscribeToPullNotificationsOnAllFolders method
Subscribes to pull notifications on all folders in a user's mailbox.
Namespace: Microsoft.Exchange.WebServices.Data
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
'Declaration Public Function SubscribeToPullNotificationsOnAllFolders ( _ timeout As Integer, _ watermark As String, _ ParamArray eventTypes As EventType() _ ) As PullSubscription 'Usage Dim instance As ExchangeService Dim timeout As Integer Dim watermark As String Dim eventTypes As EventType() Dim returnValue As PullSubscription returnValue = instance.SubscribeToPullNotificationsOnAllFolders(timeout, _ watermark, eventTypes)
Parameters
- timeout
- Type: System.Int32
The amount of elapsed time, in minutes, after which the subscription expires. The value of this parameter must be in the range from 1 through 1440.
- watermark
- Type: System.String
An optional watermark that represents a previously opened subscription.
- eventTypes
- Type: []
The event types to be subscribed to.
Return value
Type: Microsoft.Exchange.WebServices.Data.PullSubscriptionA subscription to the specified events.
Show: