Export (0) Print
Expand All

IFPCVpnConfiguration::UseDHCPForDNS property

Applies to: desktop apps only

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.

This property is read-only.

Syntax


HRESULT get_UseDHCPForDNS(
  VARIANT_BOOL *pfUseDHCPForDNS
);

Property value

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

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. It can be set using the SetDNSConfiguration method. Its default value is True (VARIANT_TRUE in C++).

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

FPCVpnConfiguration

 

 

Build date: 7/12/2010

Community Additions

ADD
Show:
© 2014 Microsoft