ScheduleUsed Property of the IFPCPolicyRule Interface

The ScheduleUsed property gets an FPCRef object that references the FPCSchedule object used to define the actual times when the rule applies.

[C++]
HRESULT get_ScheduleUsed(
	IFPCRef** ppRef
);

Parameters

ppRef

Address of an interface pointer that on return points to the IFPCRef interface that references the FPCSchedule object used to define the actual times when the rule applies.

Return Value

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

[Visual Basic]
Property ScheduleUsed As FPCRef

Property Value

Reference to an FPCRef object that references the FPCSchedule object used to define the actual times when the rule applies.

Remarks

This property is read-only. The schedule used to define the actual times when the rule applies can be set by calling the SetSchedule method. A schedule with a specified scope can be set by calling the SetScopedSchedule method. The scope indicates whether the schedule is defined for the array or for the enterprise.

By default, if no schedule is assigned to the rule, the rule will apply at all times.

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

FPCPolicyRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.