# Fault - DatastoreNotWritableOnHost(vim.fault.DatastoreNotWritableOnHost)

Thrown by
  UpdateLocalSwapDatastore
Extended by
  SwapDatastoreNotWritableOnHost
Extends
  InvalidDatastore
See also
  HostSystem
Since
  2.0

## 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:sms="urn:sms" name="DatastoreNotWritableOnHost"> <complexContent> <extension base="sms:InvalidDatastore"> <sequence> <element name="host" type="sms:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>