ReportingService2010.CreateSchedule Method
SQL Server 2008 R2
Creates a new shared schedule.
Assembly: ReportService2010 (in ReportService2010.dll)
public function CreateSchedule( Name : String, ScheduleDefinition : ScheduleDefinition, SiteUrl : String ) : String
Parameters
- Name
- Type: System.String
The name of the schedule.
- ScheduleDefinition
- Type: ReportService2010.ScheduleDefinition
A ScheduleDefinition object that defines the properties and values for the schedule.
- SiteUrl
- Type: System.String
The fully qualified URL for the SharePoint site.
Set this parameter to a null reference (Nothing in Visual Basic) (Nothing in Visual Basic) when invoking this method in Native mode.
The table below shows header and permissions information on this operation.
SOAP Header Usage | (Out) ServerInfoHeaderValue |
Native Mode Required Permissions | CreateSchedules (System) |
SharePoint Mode Required Permissions | ManageWeb() |
This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.
If an error occurs when the CreateSchedule method runs, the schedule is not created and no schedule ID is returned.
The MonthlyDOWRecurrence pattern is not supported in SharePoint integrated mode.
