ServerOrArrayNameOrIP Property of the IFPCFirewallClientConfig Interface

The ServerOrArrayNameOrIP property gets or sets the name or IP address of the Forefront TMG computer that will be used by Firewall clients.

[C++]
HRESULT put_ServerOrArrayNameOrIP(
	BSTR bstrNameOrIP
);
HRESULT get_ServerOrArrayNameOrIP(
	BSTR* pbstrNameOrIP
);

Parameters

pbstrNameOrIP

Pointer to a BSTR that is set on return to a string value specifying the name or IP address of the Forefront TMG computer that will be used by Firewall clients.

bstrNameOrIP

BSTR that specifies the name or IP address of the Forefront TMG computer that will be used by Firewall clients.

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 computer that will be used by Firewall clients.

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 computer.

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

Note  In Forefront TMG Medium Business Edition, there is only one FPCArray object, which is associated with only one Forefront TMG computer.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCFirewallClientConfig


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.