3.4.5.2.36.3 IVdsVolumeMF3::OfflineVolume (Opnum 5)

The OfflineVolume method offlines a volume. An offline volume will fail data IO. The volume can be opened for configuration.

 HRESULT OfflineVolume(void);

This method has no parameters.

Return Values: The method MUST return zero or a non-error HRESULT (as specified in [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service Remote Protocol, see section 2.2.3.

When the server receives this message, it MUST put the volume into the offline state.