Click or drag to resize
PMDayTimeRestrictionEnable Method
Enables this restriction

Namespace: PM90SettingsAPI.Restrictions
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public void Enable(
	DayTimeRange mon,
	DayTimeRange tues,
	DayTimeRange wed,
	DayTimeRange thur,
	DayTimeRange fri,
	DayTimeRange sat,
	DayTimeRange sun,
	PMAction overrideAction = null
)

Parameters

mon
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Monday
tues
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Tuesday
wed
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Wednesday
thur
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Thursday
fri
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Friday
sat
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Saturday
sun
Type: PM90SettingsAPIDayTimeRange
Allowed times of day for Sunday
overrideAction (Optional)
Type: PM90SettingsAPI.ActionsPMAction
A custom action to take for this restriction on this object. If null the default action will be used.
See Also