Share via


SMS_ScheduleToken

The SMS_ScheduleToken WMI class is an abstract parent class for the SMS_ST_ schedule token classes that handle the scheduling of events with differing frequencies such as daily, weekly, and monthly.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_ScheduleToken
{
  uint32 DayDuration;
  uint32 HourDuration;
  boolean IsGMT;
  uint32 MinuteDuration;
  datetime StartTime;
};

Properties

  • DayDuration
    Data type: uint32

    Number of days during which the scheduled action occurs. Allowable values are in the range 0 - 31. A value of 0 indicates that the scheduled action continues indefinitely. Default is 0, indefinitely.

  • HourDuration
    Data type: uint32

    Number of hours during which the scheduled action occurs. Allowable values are in the range 0 - 23. Default is 0, no duration.

  • IsGMT
    Data type: boolean

    Indicates whether the time is GMT. A value of FALSE means local time is used. Default is false, local time.

  • MinuteDuration
    Data type: uint32

    Number of minutes during which the scheduled action occurs. Allowable values are in the range 0 - 59. Default is 0, no duration.

  • StartTime
    Data type: datetime

    Date and time when the scheduled action takes place. Default is January, 1, 1990.

Remarks

Network Discovery is the only SMS component that uses the duration properties. No other components use these values.

See Also

Scheduling Classes, SMS_ScheduleMethods, SMS_ST_NonRecurring, SMS_ST_RecurInterval, SMS_ST_RecurMonthlyByDate, SMS_ST_RecurMonthlyByWeekday, SMS_ST_RecurWeekly