Databases Reference
In-Depth Information
VB.NET
Public Sub SetReportHistoryLimit(ByVal
Report
As String, ByVal
UseSystem
As
Boolean, ByVal
HistoryLimit
As Integer)
SetReportHistoryOptions
This method allows the developer to set report history options that control snapshot creation and life-
time. The required parameters are the name of the report, a Boolean value that controls whether manual
snapshots can be created, and a Boolean value indicating whether snapshot histories should be main-
tained. You also need to pass in the schedule the snapshot should be created against.
C#
public void SetReportHistoryOptions(string
Report
, bool
EnableManualSnapshotCreation
, bool
KeepExecutionSnapshots
,
ScheduleDefinitionOrReference
Schedule
);
VB.NET
Public Sub SetReportHistoryOptions(ByVal
Report
As String, ByVal
EnableManualSnapshotCreation
As Boolean, ByVal
KeepExecutionSnapshots
As Boolean,
ByVal
Schedule
As ScheduleDefinitionOrReference)
SetReportLink
A linked report does not contain a full report definition. This method allows you to specify the report
that contains the full definition for the report. A linked report may be linked to more than one report
definition.
C#
public void SetReportLink(string
Report
, string
Link
);
VB.NET
Public Sub SetReportLink(ByVal
Report
As String, ByVal
Link
As String)
SetReportParameters
This method allows the developer to specify parameters for a report that it needs in order to be pro-
cessed. The parameters are the name of the report and a collection of parameters, the names of which
must match those defined in the report.
C#
public void SetReportParameters(string
Report
, ReportParameter[]
Parameters
);
VB.NET
Public Sub SetReportParameters(ByVal
Report
As String, ByVal
Parameters
As
ReportParameter())
Search WWH ::
Custom Search