Share via


TaskPeriod Property of the IFPCScheduledContentDownloadConfig Interface

The TaskPeriod property gets a value from the FpcScheduledTaskRunningPeriod enumerated type that specifies whether the content download job is run only once, every day, or on specified days of the week.

C++

HRESULT get_TaskPeriod(
    FpcScheduledTaskRunningPeriod* pScheduledContentDownloadPeriod
);

Parameters

  • pScheduledContentDownloadPeriod
    Pointer to a value from the FpcScheduledTaskRunningPeriod enumerated type that is set on return to the value specifying whether the content download job is run only once, every day, or on specified days of the week.

Return Value

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

Visual Basic

Property TaskPeriod As FpcScheduledTaskRunningPeriod

Property Value

Value from the FpcScheduledTaskRunningPeriod enumerated type that specifies whether the content download job is run only once, every day, or on specified days of the week.

Remarks

This property is read-only. It can be set by calling the SetTaskPeriod method. Its default value is fpcRunOnce.

Requirements

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.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCScheduledContentDownloadConfig

Send comments about this topic to Microsoft

Build date: 6/30/2010