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

Property of
  ObjectSpec, TraversalSpec
Extended by
  TraversalSpec
Extends
  DynamicData
Since
  vmodl.query.version.version1

## Data Object Description

The SelectionSpec is the base type for data object types that specify what additional objects to filter. The base type contains only an optional "name" field, which allows a selection to be named for future reference. More information is available in the subtype.

Named selections support recursive specifications on an object hierarchy. When used by a derived object, the "name" field allows other SelectionSpec objects to refer to the object by name. When used as the base type only, the "name" field indicates recursion to the derived object by name.

Names are meaningful only within the same FilterSpec.

Properties

Name | Type | Description
--- | --- | ---
name* | xsd:string | Name of the selection specification.
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="SelectionSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="name" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>