LoadFactor Property of the IFPCServer Interface

The LoadFactor property gets or sets the load factor of the server.

[C++]
HRESULT put_LoadFactor(
	long lLoadFactor
);
HRESULT get_LoadFactor(
	long* plLoadFactor
);

Parameters

plLoadFactor

Pointer to a variable that on return receives a 32-bit integer specifying the load factor of the server.

lLoadFactor

A 32-bit integer that specifies the load factor of the server.

Return Value

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

[Visual Basic]
Property LoadFactor As Long

Property Value

A 32-bit integer that specifies the load factor of the server.

Remarks

This property is read/write. Its default value is 100, and it must be equal to or greater than 1.

When the Cache Array Routing Protocol (CARP) is enabled in an array with multiple Forefront TMG computers, the load factor assigned to each array member is a relative number that determines the distribution of client Web requests and cached objects among the array members by the CARP algorithm. For more information, see Cache Array Routing Protocol.

CARP is enabled for Web requests coming from a particular network when the ResolveInArray property of the network's listener is set to True (VARIANT_TRUE in C++). However, no objects are cached on any server in the array unless the CacheLimitInMegs property of at least one cache drive of at least one server belonging to the array is set to a nonzero 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

FPCServer


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.