Search
Plugins > vCenter Server 6.0.2 > VcHostDatastoreSystem > updateLocalSwapDatastore

Method updateLocalSwapDatastore(VcDatastore datastore)

Choose the VcHostConfigInfo for this host. Any change to this setting will affect virtual machines that subsequently power on or resume from a suspended state at this host, or that migrate to this host while powered on; virtual machines that are currently powered on at this host will not yet be affected.

Returns

void

Arguments

Name Type Description
datastore VcDatastore The selected datastore. If this argument is unset, then the <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcHostConfigInfo.html#localSwapDatastore">VcHostConfigInfo</a> property becomes unset. Otherwise, the host must have read/write access to the indicated datastore.