# Fault - LicenseKeyEntityMismatch(vim.fault.LicenseKeyEntityMismatch)

Extends
  NotEnoughLicenses
Since
  vSphere API 4.0

## Fault Description

A LicenseKeyEntityMismatch fault is thrown if an assignment operation tries to assign a license that does not apply to an entity. For example assigning a host license to VirtualCenter.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from NotEnoughLicenses
None
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="LicenseKeyEntityMismatch"> <complexContent> <extension base="pbm:NotEnoughLicenses"> <sequence> </sequence> </extension> </complexContent> </complexType>