Microsoft Internet Security and Acceleration Server 2004 SDK |
The ScheduleDays property gets a bitmask of the FpcDaysOfWeek enumerated type that specifies the days of the week on which the content download job will run.
HRESULT get_ScheduleDays();
This property is read-only. It is set by calling the SetTaskPeriod method. Its default value is fpcNone.
Each of the first seven bits in the bitmask corresponds to a day of the week. Bit 0 corresponds to Sunday, bit 1 corresponds to Monday, and so on.
The following code sets the ScheduleDays property to Sunday, Tuesday, and Thursday.
Dim jobConfig As FPCScheduledContentDownloadConfig ... jobConfig.ScheduleDays = 0x15
The hexadecimal value 0x15 (which corresponds to the decimal value 21) is equal to the binary value 10101. The right bit represents Sunday, the next bit represents Monday, and so forth. Thus, the bits corresponding to Sunday, Tuesday, and Thursday are set, while the bits corresponding to Monday and Wednesday are not set.
The ScheduleDays property gets a bitmask of the FpcDaysOfWeek enumerated type that specifies the days of the week on which the content download job will run.
Property ScheduleDays As FpcDaysOfWeek
This property is read-only. It is set by calling the SetTaskPeriod method. Its default value is fpcNone.
Each of the first seven bits in the bitmask corresponds to a day of the week. Bit 0 corresponds to Sunday, bit 1 corresponds to Monday, and so on.
The following code sets the ScheduleDays property to Sunday, Tuesday, and Thursday.
Dim jobConfig As FPCScheduledContentDownloadConfig ... jobConfig.ScheduleDays = 0x15
The hexadecimal value 0x15 (which corresponds to the decimal value 21) is equal to the binary value 10101. The right bit represents Sunday, the next bit represents Monday, and so forth. Thus, the bits corresponding to Sunday, Tuesday, and Thursday are set, while the bits corresponding to Monday and Wednesday are not set.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.