Removes the specified object from a schedule.
Syntax
object.RemoveObject bstrObjectName
Properties
The RemoveObject method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrObjectName |
String. The name of object to be removed. |
Remarks
It is necessary to call the DoMenuCommand method for the schedule with the scHREFreshView parameter in order for the object to appear as removed from the Schedule.