Condividi tramite


IDeliveryExtension.Deliver(Notification) Method

Definition

Delivers the report notification to a user based on the contents of the notification.

public:
 bool Deliver(Microsoft::ReportingServices::Interfaces::Notification ^ notification);
public bool Deliver (Microsoft.ReportingServices.Interfaces.Notification notification);
abstract member Deliver : Microsoft.ReportingServices.Interfaces.Notification -> bool
Public Function Deliver (notification As Notification) As Boolean

Parameters

notification
Notification

A Notification object containing information required by the delivery extension to deliver a report.

Returns

A Boolean value indicating whether or not the delivery was successful.

Remarks

The Deliver method causes the delivery extension to perform the tasks required to deliver the report notification to the user as defined in the notification parameter. The method is intended for synchronous use only.

Before returning from the method, the delivery extension must update and save the Status and Retry properties of the Notification object that is passed to the method.

Your Deliver method should return true to indicate whether that notification was delivered successfully; false if the notification failed. When set to false, the report server retries the notification if the Retry property of the notification object is set to true, as long as the max number of retries has not been reached.

Applies to