Microsoft SDK for Java

setRunning

The setRunning method of the Service Class contains the following signatures:

setRunning(int controls)
setRunning()

setRunning(int controls)

Sets the service to RUNNING and sets the ControlsAccepted field in the ServiceStatus object to a specified value indicating the control capabilities of the service.

Syntax

protected synchronized void setRunning(int controls);

Parameters

controls The control capabilities that ControlsAccepted is set to.

See Also

com.ms.service.ServiceStatus.ControlsAccepted

setRunning()

Sets the service to RUNNING.

Syntax

protected synchronized void setRunning();

© 1999 Microsoft Corporation. All rights reserved. Terms of use.