## PowerCLI Reference

# DatastoreRelatedObject - Object

Extends
  DatastoreRelatedObjectBase

Properties

Name | Type | Notes
--- | --- | ---

Methods

Methods defined in this object
ToDatastore

## ToDatastore

Converts the specified object to zero, one or more Datastore objects.

Syntax
  IEnumerable<Datastore> ToDatastore()

Return value
  IEnumerable

Parameters

Name | Type | Description
--- | --- | ---
none

Copyright © VMware, Inc. All rights reserved.