# 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:vslm="urn:vslm" name="DvsScopeViolated"> <complexContent> <extension base="vslm:DvsFault"> <sequence> <element name="scope" type="vslm:ManagedObjectReference" maxOccurs="unbounded"/> <element name="entity" type="vslm:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>