Returns the state of the Windows service named servicename on the local computer.
Syntax
service:ServiceState( servicename )
|
Example
<pc:value-of select="service:ServiceState($servicename)"/>
|
Return values
Return values are as follows:
Running
|
The Windows Service is running.
The Services panel shows Status = Running.
|
Stopped
|
The Windows Service is not running.
The Services panel shows Status = (none).
|
|