Microsoft Internet Security and Acceleration Server 2000

FPCSchedule.IsSet Method

Returns a Boolean variable indicating whether every hour in the given set is part of the schedule.

VBScript Syntax[VBScript]

[ bIsSet = ] FPCSchedule.IsSet( Day, Hour )

C++ Syntax[C++]

HRESULT IsSet(
  FpcScheduleDays Day, 
  FpcScheduleHours Hour, 
  VARIANT_BOOL *pbIsSet
);

Parameters

Day
Value from the FpcScheduleDays enumerated type that specifies a day. It can be ALL_WEEK, SUN, MON, and so on.
Hour
Value from the FpcScheduleHours enumerated type that specifies an hour or hours. It can be ALL_DAY, AM_0, AM_1, PM_1, PM_2, and so on.

Return Values

bIsSet
Boolean value that receives TRUE if every hour in the set specified by the Day and Hour parameters is part of the schedule; FALSE otherwise.

Remarks

The hour blocks defined by a schedule include the specified time and the one-hour block beyond that time. For example, the hour designated by 2_PM is the one-hour time block of between 2 P.M. and 3 P.M.

Applies To

FPCSchedule

See Also

Set, UnSet