Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a drive object.
Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)
Inheritance Hierarchy
System.Object
  Microsoft.WindowsServerSolutions.Storage.NotifyPropertyChange
    Microsoft.WindowsServerSolutions.Storage.Drive
Syntax
public class Drive : NotifyPropertyChange
public ref class Drive : NotifyPropertyChange
Public Class Drive
    Inherits NotifyPropertyChange
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Capacity | Gets the total capacity of the drive in bytes. | 
| .jpeg) | DataStatus | Gets the data status of the drive. | 
| .jpeg) | DiskID | Obsolete. Gets the unique identifier of the parent disk. | 
| .jpeg) | DiskObjectId | Gets the disk object ID. | 
| .jpeg) | DriveGuid | Gets the identifier of the drive. The identifier persists across restarts. | 
| .jpeg) | EventQueue | Represents notify events that are raised on thread pool threads.(Inherited from NotifyPropertyChange.) | 
| .jpeg) | FileSystemType | Gets the file system on the drive. | 
| .jpeg) | ID | Obsolete. Gets the unique identifier of the drive. | 
| .jpeg) | MountPoint | Gets the mount point of the drive. | 
| .jpeg) | Name | The user-friendly name of the drive. | 
| .jpeg) | NextSnapshotTime | Gets the next time that a snapshot will occur. | 
| .jpeg) | ObjectId | Gets the object ID of the drive. | 
| .jpeg) | SnapshotsEnabled | Indicates whether snapshots are enabled for the drive. | 
| .jpeg) | Status | Gets the data status of the drive. | 
| .jpeg) | SystemDrive | Indicates whether the drive is a system drive. | 
| .jpeg) | UsedSpace | Gets the total space that is used on the drive in bytes. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetCancelCheckDiskRequest() | Returns an object that is used to cancel a running check disk operation. | 
| .jpeg) | GetCheckDiskRequest(Boolean) | Returns an object that is used to run the check disk operation on the drive. | 
| .jpeg) | GetDriveInUseRequest() | Returns the usage status of the drive. | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetModifyRequest() | Enables shadow copy for the drive. | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Events
| Name | Description | |
|---|---|---|
| .jpeg) | PropertyChanged | Represents the PropertyChanged event.(Inherited from NotifyPropertyChange.) | 
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Storage Namespace
Return to top