Share via


ReportingService2006.SetScheduleProperties Method

Sets the properties of a shared schedule.

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

Syntax

'Declaration
Public Sub SetScheduleProperties ( _
    Name As String, _
    ScheduleID As String, _
    ScheduleDefinition As ScheduleDefinition _
)
'Usage
Dim instance As ReportingService2006 
Dim Name As String 
Dim ScheduleID As String 
Dim ScheduleDefinition As ScheduleDefinition

instance.SetScheduleProperties(Name, _
    ScheduleID, ScheduleDefinition)
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 function SetScheduleProperties(
    Name : String, 
    ScheduleID : String, 
    ScheduleDefinition : ScheduleDefinition
)

Parameters

Remarks

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

ManageWeb

To remove a property from a shared schedule, set the property to nulla null reference (Nothing in Visual Basic) (Nothing in Visual Basic). Setting an empty value for a property that does not exist does not affect 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.

The MonthlyDOWRecurrence pattern is not supported in SharePoint integrated mode.

See Also

Reference

ReportingService2006 Class

ReportService2006 Namespace