# Data Object - DatastoreFileMovedEvent(vim.event.DatastoreFileMovedEvent)

Extends
  DatastoreFileEvent
See also
  DatastoreEventArgument
Since
  vSphere API 4.0

## Data Object Description

This event records move of a file or directory.

Properties

Name | Type | Description
--- | --- | ---
sourceDatastore | DatastoreEventArgument | Source datastore.
sourceFile | xsd:string | Datastore path of the source file or directory.
Properties inherited from DatastoreFileEvent
sourceOfOperation, succeeded, targetFile
Properties inherited from DatastoreEvent
datastore
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="DatastoreFileMovedEvent"> <complexContent> <extension base="vsan:DatastoreFileEvent"> <sequence> <element name="sourceDatastore" type="vsan:DatastoreEventArgument"/> <element name="sourceFile" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>