# Managed Object - HostDatastoreBrowser

Property of
  Datastore, EnvironmentBrowser, HostSystem
See also
  Datastore, FileQuery, HostDatastoreBrowserSearchResults, HostDatastoreBrowserSearchSpec
Since
  null

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
datastore* P | ManagedObjectReference[] to a Datastore[] |
supportedType* | FileQuery[] |

*May not be present P Required privilege: System.View

Methods

Methods defined in this Managed Object
DeleteFile, SearchDatastore_Task, SearchDatastoreSubFolders_Task

# DeleteFile

Deprecated.

Required Privileges
  Datastore.DeleteFile

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDatastoreBrowser used to make the method call.
datastorePath P | xsd:string | Since null

P Required privilege: datastorePath

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
FileFault |
InvalidDatastore |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# SearchDatastore_Task

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDatastoreBrowser used to make the method call.
datastorePath P | xsd:string | Since null
searchSpec* P | HostDatastoreBrowserSearchSpec | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
FileFault |
InvalidDatastore |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# SearchDatastoreSubFolders_Task

Required Privileges
  None

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDatastoreBrowser used to make the method call.
datastorePath P | xsd:string | Since null
searchSpec* P | HostDatastoreBrowserSearchSpec | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
FileFault |
InvalidDatastore |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None