# Fault - DatastoreNotWritableOnHost(vim.fault.DatastoreNotWritableOnHost)

Thrown by
  UpdateLocalSwapDatastore
Extended by
  SwapDatastoreNotWritableOnHost
Extends
  InvalidDatastore
See also
  HostSystem

## Fault Description

This exception is thrown if a datastore is not writable on the target host.

Properties

Name | Type | Description
--- | --- | ---
host | ManagedObjectReference to a HostSystem | The target host on which the datastore is not writable.
Properties inherited from InvalidDatastore
datastore, name
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="DatastoreNotWritableOnHost"> <complexContent> <extension base="vsan:InvalidDatastore"> <sequence> <element name="host" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>