Existing Partition Options Class
Provides options for installing to an existing partition.
Definition
Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public class ExistingPartitionOptions : TargetedInstallOptionsBaseVB
Public Class ExistingPartitionOptions
Inherits TargetedInstallOptionsBaseC++
public ref class ExistingPartitionOptions : public TargetedInstallOptionsBaseF#
type ExistingPartitionOptions =
class
inherit TargetedInstallOptionsBase
end- Inheritance
- Object InstallOptionsBase TargetedInstallOptionsBase ExistingPartitionOptions
Remarks
When using this installation method, the partition specified by DiskId and PartitionId will be wiped and re-formatted, and Windows will be installed on this partition. Other partitions are not affected.
Depending on the system type, a system or EFI partition must already exist.
Constructors
| ExistingPartitionOptions | Initializes a new instance of the ExistingPartitionOptions class |
Properties
| DiskId |
Gets or sets the disk to which Windows will be installed.
(Inherited from TargetedInstallOptionsBase) |
| ImageIndex |
Gets or sets the index of the Windows image to install.
(Inherited from TargetedInstallOptionsBase) |
| JoinDomainOffline |
Gets or sets a value which indicates whether to join the domain during the offlineServicing
pass.
(Inherited from InstallOptionsBase) |
| OptionalFeatures |
Gets or sets the optional features to install.
(Inherited from InstallOptionsBase) |
| PartitionId | Gets or sets the ID of the partition to install to. |
| TargetPartitionId |
Gets the ID of the partition to install to.
(Overrides TargetedInstallOptionsBaseTargetPartitionId) |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| WriteDiskConfiguration |
Writes the disk configuration for this installation method.
(Overrides TargetedInstallOptionsBaseWriteDiskConfiguration(AnswerFileGenerator)) |
| WriteInstallElements |
Writes elements specific to this installation method.
(Inherited from TargetedInstallOptionsBase) |
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.