Table of Contents

Class VMwareVirtualMachineSnapshot

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

Represents a VMware virtual machine snapshot.

public class VMwareVirtualMachineSnapshot : BaseTypeSection, IComparable<VMwareVirtualMachineSnapshot>
Inheritance
VMwareVirtualMachineSnapshot
Implements

Constructors

VMwareVirtualMachineSnapshot()

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

public VMwareVirtualMachineSnapshot()

Properties

CreationDate

Gets or sets the date and time on which the snapshot was created.

public DateTime CreationDate { get; set; }

Property Value

DateTime

Description

Gets or sets the description of the snapshot.

public string Description { get; set; }

Property Value

string

Id

Gets or sets the unique identifier of this snapshot. This applies to vSphere 4.0 and above only.

public int Id { get; set; }

Property Value

int

IsCurrent

Gets or sets whether this snapshot is the current active snapshot.

public BooleanOption IsCurrent { get; set; }

Property Value

BooleanOption

ManagedObjectIdentifier

Gets or sets the managed object identifier of the snapshot.

public string ManagedObjectIdentifier { get; set; }

Property Value

string

Name

Gets or sets the name of the snapshot.

public string Name { get; set; }

Property Value

string

PowerState

Gets or sets the power state of the virtual machine at the time of the snapshot.

public VMwareVirtualMachinePowerState PowerState { get; set; }

Property Value

VMwareVirtualMachinePowerState

PowerStateString

Gets or sets the power state of the virtual machine at the time of the snapshot as a human readable string.

public string PowerStateString { get; set; }

Property Value

string

Quiesced

Gets or sets whether the snapshot was created with the "quiesce" option, ensuring a consistent state of the file system.

public BooleanOption Quiesced { get; set; }

Property Value

BooleanOption

Snapshots

Gets or sets the child snapshots.

public VMwareVirtualMachineSnapshotCollection Snapshots { get; set; }

Property Value

VMwareVirtualMachineSnapshotCollection

Methods

CompareTo(VMwareVirtualMachineSnapshot)

Compares two CENTREL.XIA.Configuration.Types.VMwareVirtualMachineSnapshot objects to allow sorting by creation date order.

public int CompareTo(VMwareVirtualMachineSnapshot other)

Parameters

other VMwareVirtualMachineSnapshot

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

Returns

int

The sort order of the two items.