Partager via


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
System_CAPS_pubmethod DriveInfo()

Creates a new instance of the DriveInfo object.

Properties

Name Description
System_CAPS_pubproperty Capacity

Gets and sets a number that describes the capacity of the drive.

System_CAPS_pubproperty DataStatus

Gets and sets the data status.

System_CAPS_pubproperty DiskID

Gets and sets the disk ID.

System_CAPS_pubproperty DiskNumber

Gets and sets the disk number.

System_CAPS_pubproperty DiskObjectId

Gets and sets the disk object ID.

System_CAPS_pubproperty DriveGuid

Gets the identifier of the drive.

System_CAPS_pubproperty FileSystemType

Gets and sets the file system type.

System_CAPS_pubproperty ID

Gets and sets the ID.

System_CAPS_pubproperty MountPoint

Gets and sets the mount point.

System_CAPS_pubproperty Name

Gets and sets the name of the drive.

System_CAPS_pubproperty NextSnapshotTime

Gets and sets the next snapshot time.

System_CAPS_pubproperty ObjectId

Gets and sets the object ID.

System_CAPS_pubproperty OnDynamicDisk

Gets and sets a value that describes if the drive is on a dymamic disk.

System_CAPS_pubproperty SnapshotsEnabled

Gets or sets a value that determines if snapshots are enabled.

System_CAPS_pubproperty Status

Gets the status of the drive.

System_CAPS_pubproperty SystemDrive

Gets and sets a value that determines if the drive is a system drive.

System_CAPS_pubproperty UsedSpace

Gets and sets a value that describes how much used space there is on the drive.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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