IFPCServer::StartJobSchedulerService method

Applies to: desktop apps only

The StartJobSchedulerService method starts the Microsoft Forefront TMG Job Scheduler service on the server.

Syntax

HRESULT StartJobSchedulerService(
  [in, optional]  VARIANT_BOOL fWaitUntilComplete
);
FPCServer.StartJobSchedulerService( _
  [ 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 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 Microsoft Forefront TMG Job Scheduler service can be stopped on the server by calling the StopJobSchedulerService method.

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