IFPCScheduledContentDownloadConfig::ScheduleDays property

Applies to: desktop apps only

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.

This property is read-only.

Syntax


HRESULT get_ScheduleDays();

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.

Error codes

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

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.

Examples

The following code sets the ScheduleDays property to Sunday, Tuesday, and Thursday.

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.

Dim jobConfig As FPCScheduledContentDownloadConfig
...
jobConfig.ScheduleDays = 0x15

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCScheduledContentDownloadConfig

 

 

Build date: 7/12/2010

Community Additions

ADD
Show: