DhcpServerv4Policy class

Dhcp Server v4Policy.

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 DhcpServerv4Policy
{
  string   Name;
  string   Description;
  string   ScopeId;
  boolean  Enabled;
  string   Condition;
  uint16   ProcessingOrder;
  string   VendorClass[];
  string   UserClass[];
  string   MacAddress[];
  string   ClientId[];
  string   RelayAgent[];
  string   CircuitId[];
  string   RemoteId[];
  string   SubscriberId[];
  Datetime LeaseDuration;
  string   Fqdn[];
};

Members

The DhcpServerv4Policy class has these types of members:

Properties

The DhcpServerv4Policy class has these properties.

CircuitId
Data type: string array
Access type: Read/write

The comparator to use, and values to compare CircuitId with

ClientId
Data type: string array
Access type: Read/write

The comparator to use, and values to compare ClientId with

Condition
Data type: string
Access type: Read/write

Indicates whether Policy rules are logically combined with an 'And' or an 'Or'

And ("And")

Or ("Or")

Description
Data type: string
Access type: Read/write

Description of the Dhcp Policy

Enabled
Data type: boolean
Access type: Read/write

Indicates if the policy is enabled or not

Fqdn
Data type: string array
Access type: Read/write

The comparator to use, and values to compare with Fqdn.

Windows Server 2012:  This value is supported beginning with Windows Server 2012 R2.

LeaseDuration
Data type: Datetime
Access type: Read/write

Lease duration to be set for clients matching the policy.

Windows Server 2012:  This value is supported beginning with Windows Server 2012 R2.

MacAddress
Data type: string array
Access type: Read/write

The comparator to use, and values to compare MacAddress with

Name
Data type: string
Access type: Read/write

Unique name of the Dhcp Policy

ProcessingOrder
Data type: uint16
Access type: Read/write

Processing order of the Dhcp Policy

RelayAgent
Data type: string array
Access type: Read/write

The comparator to use, and values to compare RelayAgent with

RemoteId
Data type: string array
Access type: Read/write

The comparator to use, and values to compare RemoteId with

ScopeId
Data type: string
Access type: Read/write

If specified, indicates the Scope for which the Policy exists. If not specified, indicates a Policy at the Server level.

SubscriberId
Data type: string array
Access type: Read/write

The comparator to use, and values to compare SubscriberId with

UserClass
Data type: string array
Access type: Read/write

The comparator to use, and values to compare UserClass with

VendorClass
Data type: string array
Access type: Read/write

The comparator to use, and values to compare VendorClass with

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\Microsoft\Windows\DHCP

MOF

DhcpServerPsProvider.mof

DLL

DhcpServerPsProvider.dll

 

 

Show: