Microsoft Internet Security and Acceleration Server 2000

FPCArrays.GetContainingArray Method

Returns the array that contains the current computer. Assume, for example, that there are two arrays, Arr1 and Arr2. Arr1 contains two computers, a and b. Arr2 contains computer c. If you call GetContainingArray on computer a, the method returns Arr1. If you call GetContainingArray on computer c, the method returns Arr2.

VBScript Syntax[VBScript]

[ oFPCArray = ] FPCArrays.GetContainingArray()

C++ Syntax[C++]

HRESULT GetContainingArray(
  IFPCArray **poFPCArray


Reference to the containing FPCArray object.


The following code example retrieves the name of the current containing array by means of the GetContainingArray method.

Dim objFPC As New FPCLib.FPC
Dim ContainingArray As String
Dim objFPCArrays As FPCArrays
Set objFPCArrays = objFPC.Arrays
ContainingArray = objFPCArrays.GetContainingArray.Name

Applies To