Share via


IFPCServer4::StartForefrontSystemMonitoringAgentService method

Applies to: desktop apps only

The StartForefrontSystemMonitoringAgentService method starts the Forefront Protection Manager Monitoring agent service on the server.

Syntax

HRESULT StartForefrontSystemMonitoringAgentService(
  [in, optional]  VARIANT_BOOL fWaitUntilComplete,
  [in, optional]  Boolean fWaitUntilComplete
);
FPCServer.StartForefrontSystemMonitoringAgentService( _
  [ ByVal fWaitUntilComplete As VARIANT_BOOL ], _
  [ ByVal fWaitUntilComplete As Boolean ] _
)

Parameters

  • fWaitUntilComplete [in, optional]

    C++

    Boolean value that specifies whether the method waits for the operation to complete before returning S_OK or an error. The default value is VARIANT_TRUE.

    VB

    Boolean value that specifies whether the method waits for the operation to complete before returning S_OK or an error. The default value is True.

Return value

C++

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

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

The service name of the Forefront Protection Manager Monitoring agent is FPMAgent.

Call the StopForefrontSystemMonitoringAgentService method to stop the Forefront Protection Manager Monitoring agent service on the server.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCServer

 

 

Build date: 7/12/2010