Поделиться через


Метод Deliver

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

Пространство имен:  Microsoft.ReportingServices.Interfaces
Сборки:   Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Синтаксис

'Декларация
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Function Deliver ( _
    notification As Notification _
) As Boolean
'Применение
Dim instance As IDeliveryExtension
Dim notification As Notification
Dim returnValue As Boolean

returnValue = instance.Deliver(notification)
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool Deliver(
    Notification notification
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool Deliver(
    Notification^ notification
)
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
abstract Deliver : 
        notification:Notification -> bool 
function Deliver(
    notification : Notification
) : boolean

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
A Boolean value indicating whether or not the delivery was successful.

Замечания

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.