ReportingService2005.SetScheduleProperties(String, String, ScheduleDefinition) Method
Definition
设置共享计划的属性。Sets the properties of a shared schedule.
public:
void SetScheduleProperties(System::String ^ Name, System::String ^ ScheduleID, ReportService2005::ScheduleDefinition ^ ScheduleDefinition);
public void SetScheduleProperties (string Name, string ScheduleID, ReportService2005.ScheduleDefinition ScheduleDefinition);
member this.SetScheduleProperties : string * string * ReportService2005.ScheduleDefinition -> unit
Public Sub SetScheduleProperties (Name As String, ScheduleID As String, ScheduleDefinition As ScheduleDefinition)
Parameters
- Name
- String
计划的名称。The name of the schedule.
- ScheduleID
- String
计划 ID。The ID of the schedule.
- ScheduleDefinition
- ScheduleDefinition
一个 ScheduleDefinition 对象,该对象定义要设置的计划属性和值。A ScheduleDefinition object that defines the schedule properties and values to set.
Remarks
下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.
SOAP 标头SOAP Headers | (In) BatchHeaderValue(In) BatchHeaderValue (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue |
所需的权限Required Permissions | UpdateSchedules (系统) UpdateSchedules (System) |
若要从共享计划中删除某个属性,请将属性设置为 null
Nothing
Visual Basic) 中 (。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.
SetScheduleProperties调用方法时,该方法不会停止执行计划的操作。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.