Allows a Windows service to be controlled.
For a list of all members of this type, see ServiceControllerTask Members.
System.Object
NAnt.Core.Element
NAnt.Core.Task
NAnt.MSNet.Tasks.ServiceControllerTask
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Starts the World Wide Web Publishing Service on the local computer.
<servicecontroller action="Start" service="w3svc" />
Stops the Alerter service on computer 'MOTHER'.
<servicecontroller action="Stop" service="Alerter" machine="MOTHER" />
Namespace: NAnt.MSNet.Tasks
Assembly: NAnt.MSNetTasks (in NAnt.MSNetTasks.dll)
ServiceControllerTask Members | NAnt.MSNet.Tasks Namespace