NAnt SDK Documentation - v0.92

ServiceControllerTask.MachineName Property

The name of the computer on which the service resides. The default is the local computer.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="machine", ExpandProperties:=True, ProcessXml:=True)>
Public Property MachineName As String
[C#]
[TaskAttribute(Required=False, Name="machine", ExpandProperties=True, ProcessXml=True)]
public string MachineName {get; set;}

See Also

ServiceControllerTask Class | NAnt.MSNet.Tasks Namespace