# Enum - TaskFilterSpecRecursionOption(vim.TaskFilterSpec.RecursionOption)

Property of
  TaskFilterSpecByEntity
Since
  2.0

## Enum Description

This option specifies how to select tasks based on child relationships in the inventory hierarchy. If a managed entity has children, their tasks can be retrieved with this filter option.

Enum Constants

Name | Description
--- | ---
all | Returns tasks pertaining either to the specified managed entity or to its child entities.
children | Returns tasks pertaining to child entities only. Excludes tasks pertaining to the specified managed entity itself.
self | Returns tasks that pertain only to the specified managed entity, and not its children.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="TaskFilterSpecRecursionOption"> <restriction base="xsd:string"> <enumeration value="self"/> <enumeration value="children"/> <enumeration value="all"/> </restriction> </simpleType>