# Data Object - RetrieveOptions(vmodl.query.PropertyCollector.RetrieveOptions)

Parameter to
  RetrievePropertiesEx
Extends
  DynamicData
Since
  vSphere API 4.1

## Data Object Description

Options for RetrievePropertiesEx.

Properties

Name | Type | Description
--- | --- | ---
maxObjects* | xsd:int | The maximum number of ObjectContent data objects that should be returned in a single result from RetrievePropertiesEx. An unset value indicates that there is no maximum. In this case PropertyCollector policy may still limit the number of objects. Any remaining objects may be retrieved with ContinueRetrievePropertiesEx. A positive value causes RetrievePropertiesEx to suspend the retrieval when the count of objects reaches the specified maximum. PropertyCollector policy may still limit the count to something less than maxObjects. Any remaining objects may be retrieved with ContinueRetrievePropertiesEx. A value less than or equal to 0 is illegal.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="RetrieveOptions"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="maxObjects" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>