Share via


ReportingService2010.SetScheduleProperties Method

Definition

Sets the properties of a shared schedule.

public:
 void SetScheduleProperties(System::String ^ Name, System::String ^ ScheduleID, ReportService2010::ScheduleDefinition ^ ScheduleDefinition);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public void SetScheduleProperties (string Name, string ScheduleID, ReportService2010.ScheduleDefinition ScheduleDefinition);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetScheduleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.SetScheduleProperties : string * string * ReportService2010.ScheduleDefinition -> unit
Public Sub SetScheduleProperties (Name As String, ScheduleID As String, ScheduleDefinition As ScheduleDefinition)

Parameters

Name
String

The name of the schedule.

ScheduleID
String

The ID of the schedule.

ScheduleDefinition
ScheduleDefinition

A ScheduleDefinition object that defines the schedule properties and values to set.

Attributes

Remarks

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

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions UpdateSchedules (System)
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb>

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 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.

Applies to