Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCServer::StartJobSchedulerService[C++]

FPCServer.StartJobSchedulerService [Visual Basic]

[C++]

The StartJobSchedulerService method starts the Microsoft ISA Server Job Scheduler service on the server.

HRESULT StartJobSchedulerService(
  VARIANT_BOOL fWaitUntilComplete
);

Parameters

fWaitUntilComplete
[in, optional] 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.

Return Values

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

Remarks

The Microsoft ISA Server Job Scheduler service can be stopped on the server by calling the StopJobSchedulerService method.

[Visual Basic]

The StartJobSchedulerService method starts the Microsoft ISA Server Job Scheduler service on the server.

Sub StartJobSchedulerService( _
  [ ByVal fWaitUntilComplete As Boolean ] _
)

Parameters

fWaitUntilComplete
[in, optional] 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 Values

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 ISA Server Job Scheduler service can be stopped on the server by calling the StopJobSchedulerService method.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCServer