Drive Class
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 | |
---|---|---|
Capacity | Gets the total capacity of the drive in bytes. |
|
DataStatus | Gets the data status of the drive. |
|
DiskID | Obsolete. Gets the unique identifier of the parent disk. |
|
DiskObjectId | Gets the disk object ID. |
|
DriveGuid | Gets the identifier of the drive. The identifier persists across restarts. |
|
EventQueue | Represents notify events that are raised on thread pool threads.(Inherited from NotifyPropertyChange.) |
|
FileSystemType | Gets the file system on the drive. |
|
ID | Obsolete. Gets the unique identifier of the drive. |
|
MountPoint | Gets the mount point of the drive. |
|
Name | The user-friendly name of the drive. |
|
NextSnapshotTime | Gets the next time that a snapshot will occur. |
|
ObjectId | Gets the object ID of the drive. |
|
SnapshotsEnabled | Indicates whether snapshots are enabled for the drive. |
|
Status | Gets the data status of the drive. |
|
SystemDrive | Indicates whether the drive is a system drive. |
|
UsedSpace | Gets the total space that is used on the drive in bytes. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetCancelCheckDiskRequest() | Returns an object that is used to cancel a running check disk operation. |
|
GetCheckDiskRequest(Boolean) | Returns an object that is used to run the check disk operation on the drive. |
|
GetDriveInUseRequest() | Returns the usage status of the drive. |
|
GetHashCode() | (Inherited from Object.) |
|
GetModifyRequest() | Enables shadow copy for the drive. |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
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