# Data Object - Relation(vim.host.SoftwarePackage.Relation)

Property of
  SoftwarePackage
Extends
  DynamicData
Since
  vSphere API 6.5

## Data Object Description

Properties

Name | Type | Description
--- | --- | ---
constraint* | xsd:string | If contraint is not set, the relation holds for all versions. and if a constraint is defined it will be one of SoftwarePackageConstraint.
name | xsd:string |
version* | xsd:string |
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="Relation"> <complexContent> <extension base="sms:DynamicData"> <sequence> <element name="constraint" type="xsd:string" minOccurs="0"/> <element name="name" type="xsd:string"/> <element name="version" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>