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.

[C++]
HRESULT get_ScheduleDays();

Parameters

pDays

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.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property ScheduleDays As FpcDaysOfWeek

Property Value

Bitmask of the FpcDaysOfWeek enumerated type that specifies the days of the week on which on which the content download job will run.

Example Code

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.

Remarks

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.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCScheduledContentDownloadConfig


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.