Table of Contents

Class BackupExecStorageDevice

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

Represents a Backup Exec storage device.

public class BackupExecStorageDevice : GlobalSerializableClassicBase, IComparable<BackupExecStorageDevice>
Inheritance
BackupExecStorageDevice
Implements
Derived

Constructors

BackupExecStorageDevice()

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

public BackupExecStorageDevice()

Properties

Description

Gets or sets the description of the storage device.

public string Description { get; set; }

Property Value

string

DeviceType

Gets or sets the storage device type.

public BackupExecStorageDeviceType DeviceType { get; set; }

Property Value

BackupExecStorageDeviceType

DeviceTypeString

Gets the storage device type as a human readable string.

public string DeviceTypeString { get; set; }

Property Value

string

Id

Gets or sets the unique identifier of the storage device in GUID format.

public string Id { get; set; }

Property Value

string

IsDiskDevice

Gets whether the device is a disk device.

public BooleanOption IsDiskDevice { get; }

Property Value

BooleanOption

IsStoragePool

Gets or sets whether the device is a storage pool.

public BooleanOption IsStoragePool { get; set; }

Property Value

BooleanOption

IsTapeDevice

Gets whether the device is a tape device.

public BooleanOption IsTapeDevice { get; }

Property Value

BooleanOption

Name

Gets or sets the name of the storage device.

public string Name { get; set; }

Property Value

string

State

Gets or sets the state of the device at the time of the scan.

public BackupExecStorageDeviceState State { get; set; }

Property Value

BackupExecStorageDeviceState

StateString

Gets the state of the device at the time of the scan as a human readable string.

public string StateString { get; set; }

Property Value

string

SupportsDeviceState

Gets whether the device supports a device state.

public BooleanOption SupportsDeviceState { get; }

Property Value

BooleanOption

Methods

CompareTo(BackupExecStorageDevice)

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

public int CompareTo(BackupExecStorageDevice other)

Parameters

other BackupExecStorageDevice

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

Returns

int

The sort order of the two items.

CreateFromDeviceType(BackupExecStorageDeviceType)

Creates a new BackupExecStorageDevice given the specified type enumeration value.

public static BackupExecStorageDevice CreateFromDeviceType(BackupExecStorageDeviceType deviceType)

Parameters

deviceType BackupExecStorageDeviceType

The CENTREL.XIA.Configuration.Types.BackupExecStorageDeviceType of the device to create.

Returns

BackupExecStorageDevice

A new CENTREL.XIA.Configuration.Types.BackupExecStorageDevice.