Share via


IFPCPolicyRule::ScheduleUsed property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_ScheduleUsed(
  IFPCRef **ppRef
);
' Data type: FPCRef

Property ScheduleUsed( _
  ByVal ppRef As IFPCRef _
) As FPCRef

Property value

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

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

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

FPCPolicyRule

 

 

Build date: 7/12/2010