DHCP_POL_COMPARATOR enumeration

The DHCP_POL_COMPARATOR enumeration defines the comparison operator for a condition when building a DHCP server policy.

Syntax


typedef enum  { 
  DhcpCompEqual         = 0,
  DhcpCompNotEqual      = 1,
  DhcpCompBeginsWith    = 2,
  DhcpCompNotBeginWith  = 3
} DHCP_POL_COMPARATOR;

Constants

DhcpCompEqual

The DHCP client message field specified by the criterion must exactly match the value supplied in the condition.

DhcpCompNotEqual

The DHCP client message field specified by the criterion must not exactly match the value supplied in the condition.

DhcpCompBeginsWith

The DHCP client message field specified by the criterion must begin with the value supplied in the condition.

DhcpCompNotBeginWith

The DHCP client message field specified by the criterion must not begin with the value supplied in the condition.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dhcpsapi.h

See also

DhcpHlprAddV4PolicyCondition
DHCP_POL_COND

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.