DriveInfo Class
Contains information about a hard drive.
Namespace: Microsoft.WindowsServerSolutions.Storage
Assembly: StorageOM (in StorageOM.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsServerSolutions.Storage.DriveInfo
Syntax
[DataContractAttribute]
public class DriveInfo
[DataContractAttribute]
public ref class DriveInfo
<DataContractAttribute>
Public Class DriveInfo
Constructors
Name | Description | |
---|---|---|
DriveInfo() | Creates a new instance of the DriveInfo object. |
Properties
Name | Description | |
---|---|---|
Capacity | Gets and sets a number that describes the capacity of the drive. |
|
DataStatus | Gets and sets the data status. |
|
DiskID | Gets and sets the disk ID. |
|
DiskNumber | Gets and sets the disk number. |
|
DiskObjectId | Gets and sets the disk object ID. |
|
DriveGuid | Gets the identifier of the drive. |
|
FileSystemType | Gets and sets the file system type. |
|
ID | Gets and sets the ID. |
|
MountPoint | Gets and sets the mount point. |
|
Name | Gets and sets the name of the drive. |
|
NextSnapshotTime | Gets and sets the next snapshot time. |
|
ObjectId | Gets and sets the object ID. |
|
OnDynamicDisk | Gets and sets a value that describes if the drive is on a dymamic disk. |
|
SnapshotsEnabled | Gets or sets a value that determines if snapshots are enabled. |
|
Status | Gets the status of the drive. |
|
SystemDrive | Gets and sets a value that determines if the drive is a system drive. |
|
UsedSpace | Gets and sets a value that describes how much used space there is on the drive. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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