Databases Reference
In-Depth Information
VB.NET
Public Sub CreateRole(ByVal
Name
As String, ByVal
Description
As String, ByVal
Tasks
As Task())
CreateSchedule
The
CreateSchedule
method allows the developer to create a shared schedule that can be used by
a subscription to deliver reports. The name of the schedule and a
ScheduleDefinition
object that
describes the schedule are the required parameters. The return value is a unique schedule ID that identi-
fies the newly created schedule.
C#
public string CreateSchedule(string
Name
, ScheduleDefinition
ScheduleDefinition
);
VB.NET
Public Function CreateSchedule(ByVal
Name
As String, ByVal
ScheduleDefinition
As
ScheduleDefinition) as String
CreateSubscription
Creates a subscription for a specified report in the Reporting Server database. The required parameters
are the name of the report, the delivery extension to use, a user-friendly description, the event that will
cause the subscription to be run, and match data that is needed by the EventType object. This method
returns a unique subscription ID for the newly created subscription.
C#
public string CreateSubscription(string
Report
, ExtensionSettings
ExtensionSettings
, string
Description
, string
EventType
, string
MatchData
,
ParameterValue[]
Parameters
);
VB.NET
Public Function CreateSubscription(ByVal
Report
As String, ByVal
ExtensionSettings
As ExtensionSettings, ByVal
Description
As String, ByVal
EventType
As String, ByVal
MatchData
As String, ByVal
Parameters
As ParameterValue()) As String
DeleteItem
The DeleteItem method deletes a specified item from the Reporting Server database as well as any
objects that are related to that item, such as properties, subscriptions, or snapshots. It takes the full path
to the item to be deleted as a string parameter.
C#
public void DeleteItem(string
Item
);
VB.NET
Public Sub DeleteItem(ByVal
Item
As String)
Search WWH ::
Custom Search