# Fault - DatacenterMismatch(vim.fault.DatacenterMismatch)

Thrown by
  CheckCompatibility_Task, CheckPowerOn_Task, CheckVmConfig_Task
Extends
  MigrationFault
See also
  Datacenter, DatacenterMismatchArgument
Since
  2.0

## Fault Description

The input arguments had entities that did not belong to the same datacenter.

Properties

Name | Type | Description
--- | --- | ---
expectedDatacenter | ManagedObjectReference to a Datacenter | The expected datacenter for the arguments.
invalidArgument | DatacenterMismatchArgument[] | The list of invalid arguments.
Properties inherited from MigrationFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vslm="urn:vslm" name="DatacenterMismatch"> <complexContent> <extension base="vslm:MigrationFault"> <sequence> <element name="invalidArgument" type="vslm:DatacenterMismatchArgument" maxOccurs="unbounded"/> <element name="expectedDatacenter" type="vslm:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>