Partager via


Disk Class

 

Represents a disk of a disk set.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Storage.NotifyPropertyChange
    Microsoft.WindowsServerSolutions.Storage.Disk

Syntax

public class Disk : NotifyPropertyChange
public ref class Disk : NotifyPropertyChange
Public Class Disk
    Inherits NotifyPropertyChange

Properties

Name Description
System_CAPS_pubproperty AllocatedSize

Gets the allocated size of the storage space.

System_CAPS_pubproperty AlreadyInStoragePool

Indicates whether the disk is in a storage pool.

System_CAPS_pubproperty BusType

Gets the type of bus that is used to connect the disk to the system.

System_CAPS_pubproperty CapacityBytes

Gets the total disk capacity in bytes.

System_CAPS_pubproperty CurrentStatus

Gets the status of the volume.

System_CAPS_pubproperty DiskGuid

Gets the identifier of the disk.

System_CAPS_pubproperty DiskNumber

Gets the disk number.

System_CAPS_protproperty EventQueue

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

System_CAPS_pubproperty FriendlyName

Gets the display name of the disk.

System_CAPS_pubproperty ID

Obsolete. Gets the identifier that is assigned by the Unique Drive Extender for the disk.

System_CAPS_pubproperty Identifier

Gets the identifier of the disk.

System_CAPS_pubproperty ObjectId

Gets the object ID of the disk.

System_CAPS_pubproperty Partition

Gets the partition style that is used on the volume.

System_CAPS_pubproperty PoolId

Gets the ID of the storage pool.

System_CAPS_pubproperty ProvisioningType

Gets the provisioning type of the storage space.

System_CAPS_pubproperty Resiliency

Gets the resiliency of the storage space.

System_CAPS_pubproperty StorageSpaceFriendlyName

Gets the friendly name of the storage space.

System_CAPS_pubproperty SystemDisk

Indicates whether the disk contains the system partition.

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 GetInitializeRequest()

Gets an InitializeDiskRequest object that is used to initialize the disk.

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