API Reference
Class
DcTimeConfig
Runtime Windows Time Service (W32Time) configuration for a single domain controller.
Inheritance
- Object
- DcTimeConfig
Constructors
public DcTimeConfig(String DomainController, Boolean IsPdc, String Type, String NtpServer, Nullable<Boolean> NtpClientEnabled, Nullable<Boolean> NtpServerEnabled) #Runtime Windows Time Service (W32Time) configuration for a single domain controller.
Parameters
- DomainController System.String
- Host name of the domain controller.
- IsPdc System.Boolean
- True when this DC is the PDC emulator.
- Type System.String
- Time provider type (e.g., NT5DS, NTP).
- NtpServer System.String
- NTP server string when Type is NTP.
- NtpClientEnabled System.Nullable{System.Boolean}
- Whether the NTP client provider is enabled.
- NtpServerEnabled System.Nullable{System.Boolean}
- Whether the NTP server provider is enabled.
Methods
public DcTimeConfig <Clone>$() #Returns:
DcTimeConfigpublic Void Deconstruct(out String DomainController, out Boolean IsPdc, out String Type, out String NtpServer, out Nullable<Boolean> NtpClientEnabled, out Nullable<Boolean> NtpServerEnabled) #Returns:
VoidParameters
- DomainController String
- IsPdc Boolean
- Type String
- NtpServer String
- NtpClientEnabled Nullable<Boolean>
- NtpServerEnabled Nullable<Boolean>
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public String DomainController { get; set; } #Host name of the domain controller.
public Boolean IsPdc { get; set; } #True when this DC is the PDC emulator.
public String Type { get; set; } #Time provider type (e.g., NT5DS, NTP).
public String NtpServer { get; set; } #NTP server string when Type is NTP.
public Nullable<Boolean> NtpClientEnabled { get; set; } #Whether the NTP client provider is enabled.
public Nullable<Boolean> NtpServerEnabled { get; set; } #Whether the NTP server provider is enabled.