Share via


SMS_ScheduleMethods

The SMS_ScheduleMethods WMI class contains methods for decoding and encoding schedule tokens into and from an interval string.

Methods

The following table lists the methods in SMS_ScheduleMethods.

Method Description
ReadFromString Decodes SMS_ScheduleToken data from an interval string representation.
WriteToString Encodes SMS_ScheduleToken data into an interval string representation.

Remarks

These methods are not used to convert the schedule tokens to or from the friendly scheduling strings found in the console, such as Occurs every 1 day(s) effective 9:27AM Tuesday. Instead, the methods are used to convert the schedule tokens to or from SMS interval strings (SMS interval strings are not of the same format as the WMI interval strings). SMS interval strings are an internal representation of the schedule token.

See Also

Scheduling Classes