Microsoft Internet Security and Acceleration Server 2000 |
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.
[ oFPCArray = ] FPCArrays.GetContainingArray()
HRESULT GetContainingArray( IFPCArray **poFPCArray );
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