The AffinityType property gets or sets a value from the FpcLoadBalancingAffinityType enumerated type that specifies the type of affinity that will be maintained with the published server farm.
HRESULT put_AffinityType( FpcLoadBalancingAffinityType* AffinityType ); HRESULT get_AffinityType( FpcLoadBalancingAffinityType pAffinityType );
Value from the FpcLoadBalancingAffinityType enumerated type that specifies the type of affinity that will be maintained with the published server farm.
Pointer to a variable that on return receives a value from the FpcLoadBalancingAffinityType enumerated type specifying the type of affinity that will be maintained with the published server farm.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property AffinityType As FpcLoadBalancingAffinityType
Value from the FpcLoadBalancingAffinityType enumerated type that specifies the type of affinity that will be maintained with the published server farm.
This property is read/write. Its default value is fpcSessionAffinity, which indicates that cookie-based load balancing with session affinity will be maintained with the published server farm. This means that all requests related to the same session, as indicated by the presence of the same unique cookie for the session, will be forwarded to the same server in the server farm.
When this property is set to fpcIPAffinity, client IP affinity will be maintained with the published server farm. This means that all requests from the same client (source) IP address will be forwarded to the same server in the server farm.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.