NLBEnabled Property of the IFPCEENLBCluster Interface
The NLBEnabled property gets or sets a Boolean value that indicates whether Network Load Balancing (NLB) is enabled on the network.
C++
HRESULT put_NLBEnabled(
VARIANT_BOOL fEnabled
);
HRESULT get_NLBEnabled(
VARIANT_BOOL* pfEnabled
);
Parameters
fEnabled
Boolean value that indicates whether NLB is enabled on the network.pfEnabled
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if NLB is enabled on the network, or to VARIANT_FALSE if NLB is disabled on the network.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property NLBEnabled As Boolean
Property Value
Boolean value that indicates whether NLB is enabled on the network.
Remarks
This property is read/write. Its default value is False (VARIANT_FALSE in C++).
This property is applicable only if the NLBIntegrationEnabled property of the array is set to True (VARIANT_TRUE in C++). In addition, the other properties of the IFPCNLBCluster interface can be configured only if this property is set to True (VARIANT_TRUE in C++).
After you enable NLB on the network, call the SetVIPAndMask method to set the virtual IP address and its subnet mask.
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
Send comments about this topic to Microsoft
Build date: 6/30/2010