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
System_CAPS_pubproperty Capacity

Gets the total capacity of the drive in bytes.

System_CAPS_pubproperty DataStatus

Gets the data status of the drive.

System_CAPS_pubproperty DiskID

Obsolete. Gets the unique identifier of the parent disk.

System_CAPS_pubproperty DiskObjectId

Gets the disk object ID.

System_CAPS_pubproperty DriveGuid

Gets the identifier of the drive. The identifier persists across restarts.

System_CAPS_protproperty EventQueue

Represents notify events that are raised on thread pool threads.(Inherited from NotifyPropertyChange.)

System_CAPS_pubproperty FileSystemType

Gets the file system on the drive.

System_CAPS_pubproperty ID

Obsolete. Gets the unique identifier of the drive.

System_CAPS_pubproperty MountPoint

Gets the mount point of the drive.

System_CAPS_pubproperty Name

The user-friendly name of the drive.

System_CAPS_pubproperty NextSnapshotTime

Gets the next time that a snapshot will occur.

System_CAPS_pubproperty ObjectId

Gets the object ID of the drive.

System_CAPS_pubproperty SnapshotsEnabled

Indicates whether snapshots are enabled for the drive.

System_CAPS_pubproperty Status

Gets the data status of the drive.

System_CAPS_pubproperty SystemDrive

Indicates whether the drive is a system drive.

System_CAPS_pubproperty UsedSpace

Gets the total space that is used on the drive in bytes.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetCancelCheckDiskRequest()

Returns an object that is used to cancel a running check disk operation.

System_CAPS_pubmethod GetCheckDiskRequest(Boolean)

Returns an object that is used to run the check disk operation on the drive.

System_CAPS_pubmethod GetDriveInUseRequest()

Returns the usage status of the drive.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetModifyRequest()

Enables shadow copy for the drive.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent 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