ReportingService2005.SetScheduleProperties Method (String, String, ScheduleDefinition)

 

Applies To: SQL Server 2016 Preview

Sets the properties of a shared schedule.

Namespace:   ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

public void SetScheduleProperties(
    string Name,
    string ScheduleID,
    ScheduleDefinition ScheduleDefinition
)
public:
void SetScheduleProperties(
    String^ Name,
    String^ ScheduleID,
    ScheduleDefinition^ ScheduleDefinition
)
member SetScheduleProperties : 
        Name:string *
        ScheduleID:string *
        ScheduleDefinition:ScheduleDefinition -> unit
Public Sub SetScheduleProperties (
    Name As String,
    ScheduleID As String,
    ScheduleDefinition As ScheduleDefinition
)

Parameters

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers

(In) BatchHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

UpdateSchedules (System)

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

ReportingService2005 Class
ReportService2005 Namespace

Return to top