Databases Reference
In-Depth Information
CreateFolder
The
CreateFolder
method creates a logical folder on the reporting server in which items such as
reports or data sources may be placed. If you are creating a nested folder hierarchy, then you must pass
in the full path of the parent folder. In addition, you must pass a collection of custom properties for the
folder. These properties can be used to search by or provide detailed information about the folder.
C#
public void CreateFolder(string
Folder
, string
Parent
, Property[]
Properties
);
VB.NET
Public Sub CreateFolder(ByVal
Folder
As String, ByVal
Parent
As String, ByVal
Properties
As Property())
CreateLinkedReport
A linked report is defined as a report that does not contain a full report definition in the reporting server
and is primarily created for the purpose of being included in other reports. This method creates a report
and requires that you pass in the name of the linked report, the path of the report, the path to the report
definition upon which you are basing the report, and the report properties.
C#
public void CreateLinkedReport(string
Report
, string
Parent
, string
Link
,
Property[]
Properties
);
VB.NET
Public Sub CreateLinkedReport(ByVal
Report
As String, ByVal
Parent
As String, ByVal
Link
As String, ByVal
Properties
As Property())
CreateModel
Creates a report model used to define the information in the database in business terms. The model is
used by the Report Builder.
C#
public Warning[] CreateModel(string
Model
, string
Parent
, byte[] Definition,
Property[]
Properties
);
VB.NET
Public Function CreateModel(ByVal Model As String, ByVal
Parent
As String,
Definition As Byte(), ByVal
Properties
As Property()) as Warning()
CreateReport
The
CreateReport
method adds a new report to the Reporting Server database. It requires that you
pass in the path where you want the report to be created, a Boolean value indicating whether you want
an existing report with the same name to be overridden, the report itself, and any custom properties that
you would like applied to the report.
Search WWH ::
Custom Search