DiskDevice Methods |
The DiskDevice type exposes the following members.
Name | Description | |
---|---|---|
DismountVolumeFilesystem |
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.
| |
Dispose |
Close device object.
(Inherited from DeviceObject.) | |
Dispose(Boolean) | (Overrides DeviceObjectDispose(Boolean).) | |
EnumerateDiskVolumes |
Enumerates disk volumes that use extents of this disk.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Inherited from DeviceObject.) | |
FlushBuffers |
Flush buffers for a disk or volume.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRawDiskStream |
Returns an DiskStream object that can be used to directly access disk data.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVolumeDiskExtents |
Retrieves the physical location of a specified volume on one or more disks.
| |
InitializeDisk |
Initialize a raw disk device for use with Windows. This method is available
for physical disks, not disk partitions.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenAdapter |
Opens SCSI adapter that created this virtual disk.
| |
QueryDevice |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String) |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String, String) |
Retrieves properties for an existing virtual disk.
| |
RemoveDevice |
Removes this virtual disk from adapter.
| |
SetVolumeOffline |
Sets disk volume offline attribute. Only valid for logical
disk volumes, not physical disk drives.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateProperties |
Updates disk properties by re-enumerating partition table.
|