Domain Options Class
Provides options for joining a domain.
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 DomainOptions : DomainOptionsBaseVB
Public Class DomainOptions
Inherits DomainOptionsBaseC++
public ref class DomainOptions : public DomainOptionsBaseF#
type DomainOptions =
class
inherit DomainOptionsBase
end- Inheritance
- Object DomainOptionsBase DomainOptions
Remarks
This class cannot be used if the InstallOptionsBaseJoinDomainOffline property is . To join a domain during the offlineServicing pass, you must use the ProvisionedDomainOptions class instead.
Constructors
| DomainOptions | Initializes a new instance of the DomainOptions class. |
Properties
| Credential | Gets the credentials of a domain account that has permission to join the domain. |
| DefaultDomainAccountDomain |
Gets the name of the domain to use for an account in the
DomainAccounts property where the
DomainUserDomain property is .
(Overrides DomainOptionsBaseDefaultDomainAccountDomain) |
| Domain | Gets the name of the domain to join. |
| DomainAccounts |
Gets a list of domain accounts that should be added to a local group.
(Inherited from DomainOptionsBase) |
| OUPath | Gets the path of the Organizational Unit that the computer account should be added to. |
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) |
| WriteDomainElements |
Writes options to join the domain.
(Overrides DomainOptionsBaseWriteDomainElements(AnswerFileGenerator, Boolean)) |
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.