ServerFarms Property of the IFPCRuleElements2 Interface

The ServerFarms property gets an FPCServerFarms collection that contains the server farms defined in the array.

[C++]
HRESULT get_ServerFarms(
	IFPCServerFarms** ppServerFarms
);

Parameters

ppServerFarms

Address of an interface pointer that on return points to an IFPCServerFarms interface that represents the collection of all server farms defined in the array.

Return Value

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

[Visual Basic]
Property ServerFarms As FPCServerFarms

Property Value

Reference to an FPCServerFarms collection that contains the server farms defined in the array.

Remarks

This property is read-only. Server farms can be added and removed by calling the Add and Remove methods of the FPCServerFarms collection retrieved (the IFPCServerFarms interface retrieved in C++).

This property is not supported for the FPCRuleElements object (IFPCRuleElements interface in C++) accessed through the RuleElements property of the FPCEnterprise object (IFPCEnterprise interface in C++) (not available in Forefront TMG Medium Business Edition).

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

FPCRuleElements


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.