Click or drag to resize

DiskDevice Methods

The DiskDevice type exposes the following members.

Methods
  NameDescription
Public methodDismountVolumeFilesystem
Locks and dismounts filesystem on a volume. Upon successful return, further access to the device can only be done through this device object instance until it is either closed (disposed) or lock is released on the underlying handle.
Public methodDispose
Close device object.
(Inherited from DeviceObject.)
Protected methodDispose(Boolean) (Overrides DeviceObjectDispose(Boolean).)
Public methodEnumerateDiskVolumes
Enumerates disk volumes that use extents of this disk.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from DeviceObject.)
Public methodFlushBuffers
Flush buffers for a disk or volume.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRawDiskStream
Returns an DiskStream object that can be used to directly access disk data.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVolumeDiskExtents
Retrieves the physical location of a specified volume on one or more disks.
Public methodInitializeDisk
Initialize a raw disk device for use with Windows. This method is available for physical disks, not disk partitions.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpenAdapter
Opens SCSI adapter that created this virtual disk.
Public methodQueryDevice
Retrieves properties for an existing virtual disk.
Public methodQueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String)
Retrieves properties for an existing virtual disk.
Public methodQueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String, String)
Retrieves properties for an existing virtual disk.
Public methodRemoveDevice
Removes this virtual disk from adapter.
Public methodSetVolumeOffline
Sets disk volume offline attribute. Only valid for logical disk volumes, not physical disk drives.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateProperties
Updates disk properties by re-enumerating partition table.
Top
See Also