Share via


BuildServiceHostProcess.GetStatus Method

Get windows service status or its reasonable analog for an interactive service.

Namespace:  Microsoft.TeamFoundation.Build.Config
Assembly:  Microsoft.TeamFoundation.Build.Config (in Microsoft.TeamFoundation.Build.Config.dll)

Syntax

'Declaration
Public Shared Function GetStatus As ServiceControllerStatus
public static ServiceControllerStatus GetStatus()
public:
static ServiceControllerStatus GetStatus()
static member GetStatus : unit -> ServiceControllerStatus
public static function GetStatus() : ServiceControllerStatus

Return Value

Type: System.ServiceProcess.ServiceControllerStatus
Status

.NET Framework Security

See Also

Reference

BuildServiceHostProcess Class

Microsoft.TeamFoundation.Build.Config Namespace