Share via


HierarchyTreeTable.deleteActivity Method

Deletes an activity from the HierarchyTreeTable.

Syntax

public boolean deleteActivity(
    HierarchyTreeTable _hierarchyTreeTable, 
    Set _impactedActivities, 
    ProjTaskEstimatesSynchronizer _projTaskEstimatesSynchronizer, 
   [boolean _validateOnly, 
    boolean _silentValidation])

Run On

Called

Parameters

  • _impactedActivities
    Type: Set Class
    The activities impacted by this record.
  • _validateOnly
    Type: boolean
    A Boolean value that determines whether to validate the activity without deleting it.
  • _silentValidation
    Type: boolean
    A Boolean value that determines whether to perform a silent validation before deleting the record.

Return Value

Type: boolean
true if the activity was deleted; otherwise, false.

Exceptions

Exception Condition
Error

The record cannot be deleted.

-or-

The record cannot be found.

See Also

Reference

HierarchyTreeTable Table