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 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
Send comments about this topic to Microsoft
Build date: 6/30/2010