IFPCRuleElements::Schedules property

Applies to: desktop apps only

The Schedules property gets an FPCSchedules collection that contains the schedules defined in the array or the enterprise.

This property is read-only.

Syntax

HRESULT get_Schedules(
  IFPCSchedules **ppSchedules
);
' Data type: FPCSchedules

Property Schedules( _
  ByVal ppSchedules As IFPCSchedules _
) As FPCSchedules

Property value

Reference to an FPCSchedules collection that contains the schedules defined in the array or the enterprise.

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. Schedules can be added and removed by calling the Add and Remove methods of the FPCSchedules collection retrieved (the IFPCSchedules interface retrieved in C++).

Forefront TMG schedules are specified in terms of hour blocks defined for each day of the week and are stored as elements of the FPCSchedules collection. For an example of using the FPCSchedules collection, see Configuring Schedules.

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

FPCRuleElements

 

 

Build date: 7/12/2010