Partager via


DhcpServerv4OptionDefinition class

Dhcp Server v4 Option Definition.

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 DhcpServerv4OptionDefinition
{
  Uint32  OptionId;
  string  Name;
  string  Description;
  string  VendorClass;
  boolean MultiValued;
  string  Type;
  string  DefaultValue[];
};

Members

The DhcpServerv4OptionDefinition class has these types of members:

Properties

The DhcpServerv4OptionDefinition class has these properties.

DefaultValue

Data type: string array

Access type: Read/write

Default option data corresponding to given option defn.

Description

Data type: string

Access type: Read/write

Description for given option defn on Dhcp server

MultiValued

Data type: boolean

Access type: Read/write

Indicates if option defn is multivalued or single valued.

Name

Data type: string

Access type: Read/write

Name of given option defn on Dhcp server

OptionId

Data type: Uint32

Access type: Read/write

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

Type

Data type: string

Access type: Read/write

Data type for option stored on Dhcp server

Byte ("Byte")

Word ("Word")

DWord ("DWord")

DWordDWord ("DWordDWord")

IPv4Address ("IPv4Address")

String ("String")

BinaryData ("BinaryData")

EncapsulatedData ("EncapsulatedData")

VendorClass

Data type: string

Access type: Read/write

Class of vendors to which the above option defn 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