IVdsVolumeOnline::Online method (vds.h)
Returns a volume to the healthy state, if possible. This method is supported only for dynamic disks.
This method can return standard HRESULT values, such as E_OUTOFMEMORY, and VDS-specific return values. It can also return converted system error codes using the HRESULT_FROM_WIN32 macro. Errors can originate from VDS itself or from the underlying VDS provider that is being used. Possible return values include the following.
|The method completed successfully.
|No volume arrival notification was received. You may need to call IVdsService::Refresh.
|This method is not supported for basic disks.
Despite its name, this method does not bring a volume online. It attempts to return a volume on a dynamic disk to a healthy state.
This method checks whether the volume has a missing disk, plex, or RAID-5 column and attempts to make any needed repairs.
To bring the volume online, call IVdsVolumeMF::Mount.
To take the volume offline, call IVdsVolumeMF::Dismount with the bPermanent parameter set to TRUE.
|Minimum supported client
|Windows Vista [desktop apps only]
|Minimum supported server
|Windows Server 2008 [desktop apps only]