Servers Property of the IFPCArray Interface

The Servers property gets an FPCServers collection that contains objects representing all the Forefront TMG computers in the array.

[C++]
HRESULT get_Servers(
	IFPCServers** ppServers
);

Parameters

ppServers

Address of an interface pointer that on return points to an IFPCServers interface that represents the collection of Forefront TMG computers 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 Servers As FPCServers

Property Value

Reference to the FPCServers collection for the array.

Example Code

The following code uses the Servers property to return the name of an individual server.
Dim root As New FPCLib.FPC
Dim serverName As String
Dim array1 As FPCArray
Set array1 = root.Arrays(1)
serverName = array1.Servers(1).Name

Remarks

This property is read-only. You can access all the properties of each Forefront TMG computer in the array through the FPCServers collection retrieved (the IFPCServers interface retrieved in C++).

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

FPCArray


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.