Microsoft Internet Security and Acceleration Server 2004 SDK

PrimaryDNSServer Property of IFPCVpnConfiguration[C++]

FPCVpnConfiguration.PrimaryDNSServer [Visual Basic]

[C++]

The PrimaryDNSServer property gets the name of the primary Domain Name System (DNS) server.

HRESULT get_PrimaryDNSServer(
  BSTR* pbstrPrimaryDNSServer
);

Parameters

pbstrPrimaryDNSServer
Pointer to a BSTR that is set on return to a string value specifying the name of the primary DNS server.

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. It can be set using the SetDNSConfiguration method.

[Visual Basic]

The PrimaryDNSServer property gets the name of the primary Domain Name System (DNS) server.

Property PrimaryDNSServer As String

Property Value

String value that specifies the name of the primary DNS server.

Remarks

This property is read-only. It can be set 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