# Data Object - TaskFilterSpecByTime(vim.TaskFilterSpec.ByTime)

Property of
  TaskFilterSpec
Extends
  DynamicData
See also
  TaskFilterSpecTimeOption
Since
  2.0

## Data Object Description

This data object type specifies a time range used to filter task history.

Properties

Name | Type | Description
--- | --- | ---
beginTime* | xsd:dateTime | The beginning of the time range. If this property is not specified, then tasks are collected from the earliest time in the database. When this property is specified, the time type field must also be specified.
endTime* | xsd:dateTime | The end of the time range. If this property is not specified, then tasks are collected up to the latest time in the database. When this property is specified, the time type field must also be specified.
timeType | TaskFilterSpecTimeOption | The time stamp to filter: queued, started, or completed time.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="TaskFilterSpecByTime"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="timeType" type="sms:TaskFilterSpecTimeOption"/> <element name="beginTime" type="xsd:dateTime" minOccurs="0"/> <element name="endTime" type="xsd:dateTime" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>