Subclass of CIM_Service
Class representing Linux Service
None
uint32 ReloadOrRestartService ()
Parameters
uint32 ReloadService ()
Parameters
uint32 StopService ()
The StopService method places the Service in the stopped state. Note that the function of this method overlaps with the RequestedState property. RequestedState was added to the model to maintain a record (such as a persisted value) of the last state request. Invoking the StopService method should set the RequestedState property appropriately. The method returns an integer value of 0 if the Service was successfully stopped, 1 if the request is not supported, and any other number to indicate an error. In a subclass, the set of possible return codes could be specified using a ValueMap qualifier on the method. The strings to which the ValueMap contents are translated can also be specified in the subclass as a Values array qualifier.
Note: The semantics of this method overlap with the RequestStateChange method that is inherited from EnabledLogicalElement. This method is maintained because it has been widely implemented, and its simple “stop” semantics are convenient to use.
Parameters
uint32 TurnServiceOn ()
Parameters
uint32 TurnServiceOff ()
Parameters
uint32 TryRestartService ()
Parameters
uint32 ReloadOrTryRestartService ()
Parameters
uint32 StartService ()
The StartService method places the Service in the started state. Note that the function of this method overlaps with the RequestedState property. RequestedState was added to the model to maintain a record (such as a persisted value) of the last state request. Invoking the StartService method should set the RequestedState property appropriately. The method returns an integer value of 0 if the Service was successfully started, 1 if the request is not supported, and any other number to indicate an error. In a subclass, the set of possible return codes could be specified using a ValueMap qualifier on the method. The strings to which the ValueMap contents are translated can also be specified in the subclass as a Values array qualifier.
Note: The semantics of this method overlap with the RequestStateChange method that is inherited from EnabledLogicalElement. This method is maintained because it has been widely implemented, and its simple “start” semantics are convenient to use.
Parameters
uint32 CondRestartService ()
Parameters
uint32 RestartService ()
Parameters
None