Export (0) Print
Expand All
Expand Minimize

SetScheduleProperties Method

SQL Server 2000

ReportingService.SetScheduleProperties Method

Sets the properties of a shared schedule.

Public Sub SetScheduleProperties( _
   ByVal Name As String _
   ByVal ScheduleID As String _
   ByVal ScheduleDefinition As [Namespace].ScheduleDefinition _
   Member of [Namespace].ReportingService

public void SetScheduleProperties(
   string Name,
   string ScheduleID,
   [Namespace].ScheduleDefinition ScheduleDefinition
   Member of [Namespace].ReportingService
The name of the schedule.
The ID of the schedule.
A ScheduleDefinition object that defines the schedule properties and values to set.

Operation Description
Update Schedules Required to modify schedule properties.


To remove a property from a shared schedule, set the property to null (Nothing in Visual Basic). Setting an empty value for a property that does not exist has no effect on the schedule.

If you set the value of a property that already exists, the value is overwritten.

The SetScheduleProperties method does not stop execution of a scheduled operation when the method is invoked. If the schedule is updated during a scheduled run, changes are reflected in subsequent runs.

See Also

ReportingService Class

Reporting Services Web Service Library

© 2015 Microsoft