EnableDhcp

Enables DHCP on the IP Address resource. The following table summarizes the attributes of the EnableDhcp property.

AttributeValue
Data typeDWORD
Access Read/write
StatusRequired
Structure CLUSPROP_DWORD
MinimumFALSE (0) - disable DHCP
MaximumTRUE (1) - enable DHCP
DefaultFALSE (0)

 

Examples

The property value portion of a property list entry for EnableDhcp can be set with the following example code.


DWORD          EnableDhcpData = TRUE;
CLUSPROP_DWORD EnableDhcpValue;

EnableDhcpValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
EnableDhcpValue.cbLength  = sizeof(DWORD);
EnableDhcpValue.dw        = EnableDhcpData;


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

IP Address Private Properties
CLUSPROP_DWORD

 

 

Show: