# Fault - DvsScopeViolated(vim.fault.DvsScopeViolated)

Extends
  DvsFault
See also
  ManagedEntity
Since
  vSphere API 4.0

## Fault Description

Deprecated. as of vSphere API 5.5

Thrown if a entity trying to connect to a port or portgroup but it is not in the port or portgroup's scope.

Properties

Name | Type | Description
--- | --- | ---
entity | ManagedObjectReference to a ManagedEntity | The entity that violates the scope.
scope | ManagedObjectReference[] to a ManagedEntity[] | The configured scope.
Properties inherited from DvsFault
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:vsan="urn:vsan" name="DvsScopeViolated"> <complexContent> <extension base="vsan:DvsFault"> <sequence> <element name="scope" type="vsan:ManagedObjectReference" maxOccurs="unbounded"/> <element name="entity" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>