Delen via


Notification.MaxNumberOfRetries Property

Indicates the maximum number of times the report server attempts to deliver the notification. This value is based on information contained in the delivery extension's configuration file.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property MaxNumberOfRetries As Integer
    Get
'Usage
Dim instance As Notification
Dim value As Integer

value = instance.MaxNumberOfRetries
public abstract int MaxNumberOfRetries { get; }
public:
virtual property int MaxNumberOfRetries {
    int get () abstract;
}
abstract MaxNumberOfRetries : int
abstract function get MaxNumberOfRetries () : int

Property Value

Type: System.Int32
The maximum number of times the report server retries to deliver the notification.

Remarks

This property is set in the Delivery element of the RSReportServer.config file.

<Delivery>
   <MaxNumberOfRetries>4</MaxNumberOfRetries>
   <Extension... />
</Delivery>

For more information about the report server configuration file, see Configuration Files (Reporting Services).