Microsoft Internet Security and Acceleration Server 2000

FPCSchedules.Add Method

Creates a new schedule in the collection and returns a reference to it.

VBScript Syntax[VBScript]

[ oFPCSchedule = ] FPCSchedules.Add( sName )

C++ Syntax[C++]

HRESULT Add(
  BSTR sName, 
  IFPCSchedule **ppoFPCSchedule
);

Parameters

sName
String that specifies the name of the new schedule.

Parameters

oFPCSchedule
Reference to the FPCSchedule object.

Remarks

Newly created schedules do not contain any defined hour blocks. You can define hour blocks with the methods of the individual FPCSchedule object.

The additional FPCSchedule object added by this method is not saved to persistent storage until after the Save method is called.

Applies To

FPCSchedules