IFPCAdapter::DhcpEnabled property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_DhcpEnabled(
  VARIANT_BOOL pfEnabled
);
Property DhcpEnabled( _
  ByVal pfEnabled As VARIANT_BOOL _
) As Boolean

Property value

Boolean value that indicates whether the network adapter uses DHCP.

Error codes

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

Remarks

This property is read-only.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCAdapter

 

 

Build date: 7/12/2010