Class VirtualDrive
Specifies virtual drive creation parameters.
Namespace: Neon.HyperV
Assembly: Neon.HyperV.dll
Syntax
public class VirtualDrive
Properties
IsDynamic
Indicates whether a dynamic drive will be created as opposed to a pre-allocated fixed drive. This defaults to true.
Declaration
public bool IsDynamic { get; set; }
Property Value
Type | Description |
---|---|
bool |
Path
Specifies the path where the drive is located. The drive format is indicated by the file type, either .vhd or .vhdx.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
Size
The drive size in bytes.
Declaration
public decimal Size { get; set; }
Property Value
Type | Description |
---|---|
decimal |