Microsoft Internet Security and Acceleration Server 2000 |
Returns the server containing the current computer.
[ oFPCServer = ] FPCServers.GetContainingServer()
HRESULT GetContainingServer( IFPCServer **poFPCServer );
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