ReportingService2005.SetScheduleProperties 方法
Sets the properties of a shared schedule.
命名空间: ReportService2005
程序集: ReportService2005(在 ReportService2005.dll 中)
语法
声明
Public Sub SetScheduleProperties ( _
Name As String, _
ScheduleID As String, _
ScheduleDefinition As ScheduleDefinition _
)
用法
Dim instance As ReportingService2005
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
)
参数
- Name
类型:System.String
The name of the schedule.
- ScheduleID
类型:System.String
The ID of the schedule.
- ScheduleDefinition
类型:ReportService2005.ScheduleDefinition
A ScheduleDefinition object that defines the schedule properties and values to set.
注释
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 nullnull 引用(在 Visual Basic 中为 Nothing) (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.