IFPCServer4::StartDiagnosticLogging method

Applies to: desktop apps only

The StartDiagnosticLogging method starts diagnostic logging for the specified component on the server.

Syntax

HRESULT StartDiagnosticLogging(
  [in]  DWORD dwComponentId,
  [in]  Long dwComponentId
);
FPCServer.StartDiagnosticLogging( _
  ByVal dwComponentId As DWORD, _
  ByVal dwComponentId As Long _
)

Parameters

  • dwComponentId [in]

    C++

    Required. A DWORD that specifies the component identifier.

    VB

    A 32-bit integer that specifies the component identifier.

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

Call the StopDiagnosticLogging method to stop diagnostic logging 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