Microsoft Internet Security and Acceleration Server 2004 SDK

UseDHCPForDNS Property of IFPCVpnConfiguration[C++]

FPCVpnConfiguration.UseDHCPForDNS [Visual Basic]

[C++]

The UseDHCPForDNS property gets a Boolean value that indicates whether DHCP is used for DNS servers. For more information about DHCP, see Dynamic Host Configuration Protocol SDK documentation.

HRESULT get_UseDHCPForDNS(
  VARIANT_BOOL* pfUseDHCPForDNS
);

Parameters

pfUseDHCPForDNS
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if DHCP is used for DNS servers, or to VARIANT_FALSE if DHCP is not used for DNS servers.

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. You can set this property using the SetDNSConfiguration method.

[Visual Basic]

The UseDHCPForDNS property gets a Boolean value that indicates whether DHCP is used for DNS servers. For more information about DHCP, see Dynamic Host Configuration Protocol SDK documentation.

Property UseDHCPForDNS As Boolean

Property Value

Boolean value that indicates whether DHCP is used for DNS servers.

Remarks

This property is read-only. You can set this property using the SetDNSConfiguration method.

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