Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Enables DHCP on the IP Address resource. The following table summarizes the attributes of the EnableDhcp property.
| Attribute | Value |
|---|---|
| Data type | DWORD |
| Access | Read/write |
| Status | Required |
| Structure | CLUSPROP_DWORD |
| Minimum | FALSE (0) - disable DHCP |
| Maximum | TRUE (1) - enable DHCP |
| Default | FALSE (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 |