Share via


IFPCServer4::StopForefrontSystemMonitoringAgentService method

Applies to: desktop apps only

The StopForefrontSystemMonitoringAgentService method stops the Forefront Protection Manager Monitoring agent service on the server.

Syntax

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

Parameters

  • fWaitUntilComplete [in, optional]

    C++

    A VARIANT_BOOL 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 or raising 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 StartForefrontSystemMonitoringAgentService method to start 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