Share via


DhcpServerv4OptionValue class

Dhcp Server v4 Option Value.

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 DhcpServerv4OptionValue
{
  Uint32 OptionId;
  string Type;
  string UserClass;
  string VendorClass;
  string Value[];
  string Name;
  string PolicyName;
};

Members

The DhcpServerv4OptionValue class has these types of members:

Properties

The DhcpServerv4OptionValue class has these properties.

Name

Data type: string

Access type: Read/write

Option Name corresponding to given option.

OptionId

Data type: Uint32

Access type: Read/write

Option identifier(unique) for the given option on Dhcp server

PolicyName

Data type: string

Access type: Read/write

Name of the policy to which this value applies.

Type

Data type: string

Access type: Read/write

Data type for option value stored on Dhcp server

Byte ("Byte")

Word ("Word")

DWord ("DWord")

DWordDWord ("DWordDWord")

IPv4Address ("IPv4Address")

String ("String")

BinaryData ("BinaryData")

EncapsulatedData ("EncapsulatedData")

UserClass

Data type: string

Access type: Read/write

Class of user to which the above option is applicable.

Value

Data type: string array

Access type: Read/write

Option data corresponding to given option.

VendorClass

Data type: string

Access type: Read/write

Class of vendors to which the above option is applicable.

Requirements

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