Microsoft Internet Security and Acceleration Server 2004 SDK

DhcpEnabled Property of IFPCAdapter[C++]

FPCAdapter.DhcpEnabled [Visual Basic]

[C++]

The DhcpEnabled property gets a Boolean value that indicates whether the network adapter uses the Dynamic Host Configuration Protocol (DHCP).

HRESULT get_DhcpEnabled(
  VARIANT_BOOL pfEnabled
);

Parameters

pfEnabled
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the network adapter uses DHCP, or to VARIANT_FALSE the network adapter does not use DHCP.

Return Values

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only.

[Visual Basic]

The DhcpEnabled property gets a Boolean value that indicates whether the network adapter uses the Dynamic Host Configuration Protocol (DHCP).

Property DhcpEnabled As Boolean

Property Value

Boolean value that indicates whether the network adapter uses DHCP.

Remarks

This property is read-only.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCAdapter