Schedules Property of the IFPCRuleElements Interface

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

[C++]
HRESULT get_Schedules(
	IFPCSchedules** ppSchedules
);

Parameters

ppSchedules

Address of an interface pointer that on return points to an IFPCSchedules interface that represents the collection of all schedules defined in the array or the enterprise.

Return Value

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

[Visual Basic]
Property Schedules As FPCSchedules

Property Value

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

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

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

FPCRuleElements


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.