ScheduleDays Property of the IFPCScheduledContentDownloadConfig Interface
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.
Pointer to a value from the FpcDaysOfWeek enumerated type that is set on return to the bitmask specifying the days of the week on which the content download job will run.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property ScheduleDays As FpcDaysOfWeek
Bitmask of the FpcDaysOfWeek enumerated type that specifies the days of the week on which on which the content download job will run.
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.
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. For example, the binary number which specifies Sunday, Tuesday, and Thursday is 10101. Its hexadecimal value is 0x15, and its decimal value is 21.
|Client||Requires Windows 7 or Windows Vista.|
|Server||Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.|
|Version||Requires Forefront Threat Management Gateway (TMG) 2010.|
Declared in Msfpccom.idl.
Build date: 6/30/2010