Share via


ServerOrArrayNameOrIP Property of the IFPCFirewallClientConfig Interface

The ServerOrArrayNameOrIP property gets or sets the name or IP address of the Forefront TMG server that will be used by Forefront TMG Client and Firewall Client computers in the network.

C++

HRESULT put_ServerOrArrayNameOrIP(
    BSTR bstrNameOrIP
);
HRESULT get_ServerOrArrayNameOrIP(
    BSTR* pbstrNameOrIP
);

Parameters

  • bstrNameOrIP
    BSTR that specifies the name or IP address of the Forefront TMG server that will be used by Forefront TMG Client and Firewall Client computers in the network.

  • pbstrNameOrIP
    Pointer to a BSTR that is set on return to a string value specifying the name or IP address of the Forefront TMG server that will be used by Forefront TMG Client and Firewall Client computers in the network.

Return Value

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

Visual Basic

Property ServerOrArrayNameOrIP As String

Property Value

String that specifies the name or IP address of the Forefront TMG server that will be used by Forefront TMG Client and Firewall Client computers in the network.

Remarks

This property is read/write. Its default value is an empty string.

In a standalone server deployment, this property should be set to the name or IP address of the Forefront TMG server.

When multiple Forefront TMG computers are joined to the array, this property can be set to the DNS name (DNSName) of the array so that Forefront TMG Client and Firewall Client computers can send requests to the array as a single logical unit.

Note  In Forefront TMG Standard Edition, there is only one FPCArray object, which is associated with only one Forefront TMG server.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCFirewallClientConfig

Send comments about this topic to Microsoft

Build date: 6/30/2010