Share via


IFPCArray::Servers property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_Servers(
  IFPCServers **ppServers
);
' Data type: FPCServers

Property Servers( _
  ByVal ppServers As IFPCServers _
) As FPCServers

Property value

Reference to the FPCServers collection for the array.

Error codes

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 Forefront TMG computer in the array through the FPCServers collection retrieved (the IFPCServers interface retrieved in C++).

Examples

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCArray

 

 

Build date: 7/12/2010