BuildServiceHostUtilities.GetCurrent Method

Gets the currently registered build service host for this computer.

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

Syntax

'Declaration
Public Shared Function GetCurrent As IBuildServiceHost
public static IBuildServiceHost GetCurrent()
public:
static IBuildServiceHost^ GetCurrent()
static member GetCurrent : unit -> IBuildServiceHost
public static function GetCurrent() : IBuildServiceHost

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The IBuildServiceHost that is currently running on the computer, or null if no service host is registered.

.NET Framework Security

See Also

Reference

BuildServiceHostUtilities Class

Microsoft.TeamFoundation.Build.Config Namespace