Compartir a través de


DhcpServerSetting class

Dhcp Server Settings.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DhcpServerPSProvider"), AMENDMENT]
class DhcpServerSetting
{
  boolean IsDomainJoined;
  boolean IsAuthorized;
  boolean DynamicBootp;
  boolean RestoreStatus;
  boolean NapEnabled;
  uint32  ConflictDetectionAttempts;
  string  NpsUnreachableAction;
  boolean ActivatePolicies;
};

Members

The DhcpServerSetting class has these types of members:

Properties

The DhcpServerSetting class has these properties.

ActivatePolicies

Data type: boolean

Access type: Read/write

Indicates if policy enforcement is enabled for entire server or not.

ConflictDetectionAttempts

Data type: uint32

Access type: Read/write

Number of conflict detection attempts (1-5) DHCP server makes for an IP address. Conflict detection is disabled when this is set to zero. (v4 Only).

DynamicBootp

Data type: boolean

Access type: Read-only

Indicates if Dhcp Server support dynamic bootp clients.

IsAuthorized

Data type: boolean

Access type: Read-only

Indicates if Dhcp Server is authorized in Active Directory.

IsDomainJoined

Data type: boolean

Access type: Read-only

Indicates if Dhcp Server is part of domain.

NapEnabled

Data type: boolean

Access type: Read/write

Indicates if NAP is enabled on Dhcp Server (v4 only).

NpsUnreachableAction

Data type: string

Access type: Read/write

NPS Settings for Dhcp Server (v4 only).

Full ("Full")

Restricted ("Restricted")

NoAccess ("NoAccess")

RestoreStatus

Data type: boolean

Access type: Read-only

Indicates if the database was restored from backed up database at service start.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll