adTempus API
|
The DateSchedule holds the information necessary to define a range of days on which a job will execute.
__interface IDateSchedule : IADTIndependentObject;
public interface IDateSchedule : IADTIndependentObject;
Public Interface IDateSchedule Inherits IADTIndependentObject
{68D21205-1AC5-43B0-87E0-2C7180052B9A}
The combination of the Shared and UseAsHolidaySet properties determines how the DateSchedule is used. You must take care to set these properties correctly, as this determines how the DateSchedule appears in the Console, and also when it will be deleted from the database.
Also take care not to use a DateSchedule in a manner inconsistent with the settings of these properties. For example, if you use a non-shared DateSchedule on more than one job, the schedule will be deleted if any of the jobs that use it is deleted, leaving the other jobs holding references to invalid data.
UseAsHolidaySet Usage | |
----
|
-------------- ----
|
False |
False The DateSchedule represents a private schedule for the job to which it is attached. It is automatically deleted when the job is deleted. |
True |
False The DateSchedule is a "shared schedule," available for use by other jobs. It is not deleted when the jobs that use it are deleted. The object's SecurityDescriptor determines who is allowed to use it. |
True |
True The DateSchedule is a "holiday set," available for use as a holiday set on other jobs. It is not deleted when the jobs that use it are deleted. The object's SecurityDescriptor determines who is allowed to use it. |
False |
True Invalid combination. |
DateSchedule
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|