SetServerFarm Method of the IFPCLoadBalancingConfig Interface

The SetServerFarm method sets the server farm that will be associated with the Web publishing rule.

[C++]

Syntax

HRESULT SetServerFarm(
  [in]  BSTR ServerFarmName
);

Parameters

ServerFarmName
BSTR that specifies the name of the server farm to be associated with the Web publishing rule.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]

Syntax

Sub SetServerFarm( _
  ByVal ServerFarmName As String _
)

Parameters

ServerFarmName
String value that specifies the name of the server farm to be associated with the Web publishing rule.

Return Value

This method does not return a value.

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

FPCLoadBalancingConfig


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.