Table of Contents

Class HyperVServerVirtualMachineDriveBase

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the base class for a drive in a Hyper-V virtual machine.

public abstract class HyperVServerVirtualMachineDriveBase : GlobalSerializableBase, IComparable<HyperVServerVirtualMachineDriveBase>
Inheritance
HyperVServerVirtualMachineDriveBase
Implements
Derived

Constructors

HyperVServerVirtualMachineDriveBase()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase class.

public HyperVServerVirtualMachineDriveBase()

Properties

CompactName

Gets or sets the compact name of the drive - for example "Virtual Hard Disk (IDE 0/1)".

public string CompactName { get; set; }

Property Value

string

ControllerLocation

Gets or sets the location on the controller to which the drive is attached.

public int ControllerLocation { get; set; }

Property Value

int

ControllerNumber

Gets or sets the number of the controller to which the drive is attached.

public int ControllerNumber { get; set; }

Property Value

int

ControllerType

Gets or sets the type of controller to which the drive is attached.

public HyperVServerVirtualMachineControllerType ControllerType { get; set; }

Property Value

HyperVServerVirtualMachineControllerType

ControllerTypeString

Gets the type of controller to which the drive is attached.

public string ControllerTypeString { get; set; }

Property Value

string

Identifier

Gets or sets the unique identifier of the drive.

public Guid Identifier { get; set; }

Property Value

Guid

InternalIdentifier

Gets or sets the internal identifier of the drive.

public string InternalIdentifier { get; set; }

Property Value

string

Name

Gets or sets the name of the drive.

public string Name { get; set; }

Property Value

string

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase cloned from this object.

public HyperVServerVirtualMachineDriveBase Clone()

Returns

HyperVServerVirtualMachineDriveBase

A CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase.

CompareTo(HyperVServerVirtualMachineDriveBase)

Compares two CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase objects to allow sorting alphabetically by name.

public int CompareTo(HyperVServerVirtualMachineDriveBase other)

Parameters

other HyperVServerVirtualMachineDriveBase

The CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.HyperVServerVirtualMachineDriveBase objects.

ToString()

Returns the drive as a human readable string.

public override string ToString()

Returns

string

The drive as a human readable string.