Share via


IsExternalComponentInstalled Method of the IFPCArray4 Interface

The IsExternalComponentInstalled method determines whether the specified external component is installed on all Forefront TMG computers in the array.

C++

Syntax

HRESULT IsExternalComponentInstalled(
  [in]   BSTR ExternalComponentGuid,
  [out]  VARIANT_BOOL* pbRetVal
);

Parameters

  • ExternalComponentGuid
    A BSTR that contains the GUID of the external component.

  • pbRetVal
    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the specified external component is installed on all Forefront TMG computers in the array, or to VARIANT_FALSE if the external component is not installed on all Forefront TMG computers in the array.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Syntax

Function IsExternalComponentInstalled( _
  ByVal ExternalComponentGuid As String _
) As Boolean

Parameters

  • ExternalComponentGuid
    A String that contains the GUID of the external component.

Return Value

Boolean value that is set to True if the specified external component is installed on all Forefront TMG computers in the array, or to False if the external component is not installed on all Forefront TMG computers in the array.

If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

This method uses the ExternalComponents property of the FPCServer to retrieve information about external components.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCArray

Send comments about this topic to Microsoft

Build date: 6/30/2010