Action Property

NAnt SDK Documentation - v0.92 |

# ServiceControllerTask.Action Property

The action that should be performed on the service.

[Visual Basic]
<TaskAttribute(Required:=True, Name:="action", ExpandProperties:=True, ProcessXml:=True)>
Public Property Action As ActionType
[C#]
[TaskAttribute(Required=True, Name="action", ExpandProperties=True, ProcessXml=True)]
public ServiceControllerTask.ActionType Action {get; set;}

#### See Also

ServiceControllerTask Class | NAnt.MSNet.Tasks Namespace