# Fault - NotADirectory(vim.fault.NotADirectory)

Thrown by
  DeleteDirectoryInGuest
Extends
  FileFault
Since
  vSphere API 5.0

## Fault Description

This fault is thrown when an operation fails because the specified object is not a directory.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from FileFault
file
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="NotADirectory"> <complexContent> <extension base="vsan:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>