Microsoft Internet Security and Acceleration Server 2004 SDK

UseDHCPForAddressAssignment Property of IFPCVpnConfiguration[C++]

FPCVpnConfiguration.UseDHCPForAddressAssignment [Visual Basic]

[C++]

The UseDHCPForAddressAssignment property gets or sets a Boolean value that indicates whether DHCP is used for IP address assignment. For more information about DHCP, see the Dynamic Host Configuration Protocol SDK documentation.

HRESULT get_UseDHCPForAddressAssignment(
  VARIANT_BOOL* pfUseDHCPForAddress
);

HRESULT put_UseDHCPForAddressAssignment(
  VARIANT_BOOL fUseDHCPForAddress
);

Parameters

pfUseDHCPForAddress
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if DHCP is used for IP address assignment, or to VARIANT_FALSE if DHCP is not used for IP address assignment.
fUseDHCPForAddress
Boolean value that indicates whether DHCP is used for IP address assignment.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write.

[Visual Basic]

The UseDHCPForAddressAssignment property gets or sets a Boolean value that indicates whether DHCP is used for IP address assignment. For more information about DHCP, see the Dynamic Host Configuration Protocol SDK documentation.

Property UseDHCPForAddressAssignment As Boolean

Property Value

Boolean value that indicates whether DHCP is used for IP address assignment.

Remarks

This property is read/write.

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

FPCVpnConfiguration