Microsoft Internet Security and Acceleration Server 2004 SDK

Servers Property of IFPCArray[C++]

FPCArray.Servers [Visual Basic]

[C++]

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

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 ISA Server computers in the array.

Return Values

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

Remarks

This property is read-only. You can access all the properties of each individual ISA Server computer in the array through the IFPCServers interface retrieved.

[Visual Basic]

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

Property Servers As FPCServers

Property Value

Reference to the FPCServers collection for the array.

Remarks

This property is read-only. You can access all the properties of each ISA Server computer in the array through the FPCServers collection retrieved.

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

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCArray