Microsoft Internet Security and Acceleration Server 2000

FPCServers.GetContainingServer Method

Returns the server containing the current computer.

VBScript Syntax[VBScript]

[ oFPCServer = ] FPCServers.GetContainingServer()

C++ Syntax[C++]

HRESULT GetContainingServer(
  IFPCServer **poFPCServer
);

Return Values

oFPCServer
Reference to the server that contains the current computer.

Example

The following Visual Basic code retrieves the name of the containing ISA server by means of the GetContainingServer method.

Dim objFPC As New FPCLib.FPC
Dim ContainingServer As String
Dim objFPCArrays As FPCArrays
Dim objFPCArray As FPCArray
Dim objFPCServer As FPCServers
Set objFPCArrays = objFPC.Arrays
Set objFPCArray = objFPCArrays.GetContainingArray
Set objFPCServers = objFPCArray.Servers
ContainingServer = objFPCServers.GetContainingServer.Name

Applies To

FPCServers