Interface IScheduleCollection

The interface for ScheduleCollection.


public abstract interface IScheduleCollection

Interface Members

MemberDescription

Add

Adds a schedule to the collection. The username and password passed here will be the Machine/Domain account that is used to run the scheduled task.

public bool Add(ISchedule schedule,
    string username,
    string password);

public void Add(ISchedule schedule);

Deserialize

Given an XML document, deserializes the document into a collection of schedules.

public void Deserialize(XmlNode doc);

Remove

Remove the schedule from the collection, and also unregister the corresponding scheduled task from the Windows Task Scheduler.

public void Remove(ISchedule schedule);

Serialize

Serialize the collection as an XML document.

public XmlDocument Serialize();

ErrorMessage

The text of any error that occurs when adding a task.

Requirements

Namespace: Stonefield.Query.Scheduling
Assembly: interfaces.dll