ISchedule interface (pla.h)
Specifies when the data collector set runs.
To get this interface, call the IScheduleCollection::CreateSchedule method.
Inheritance
The ISchedule interface inherits from the IDispatch interface.
Methods
The ISchedule interface has these methods.
ISchedule::get_Days Retrieves or sets the days on which the data collector set runs. (Get) |
ISchedule::get_EndDate Retrieves or sets the last date that the schedule is valid. (Get) |
ISchedule::get_StartDate Retrieves or sets the date when the schedule becomes valid. (Get) |
ISchedule::get_StartTime Retrieves or sets the time of day when the data collector set runs. (Get) |
ISchedule::put_Days Retrieves or sets the days on which the data collector set runs. (Put) |
ISchedule::put_EndDate Retrieves or sets the last date that the schedule is valid. (Put) |
ISchedule::put_StartDate Retrieves or sets the date when the schedule becomes valid. (Put) |
ISchedule::put_StartTime Retrieves or sets the time of day when the data collector set runs. (Put) |
Remarks
To create the object from a script, use the Pla.Schedule program identifier.
PLA uses the schedule when the IDataCollectorSet::SchedulesEnabled property is VARIANT_TRUE.
For an example that shows the XML that you can use to initialize this object if you call the IDataCollectorSet::SetXml method, see the Remarks section of IDataCollectorSet. When you specify the XML to create the object, you can specify only the elements for the properties that you want to set. If you do not specify a property, PLA provides a default value. When you retrieve the XML for the set, the XML includes all elements.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | pla.h |