Gets the service host that matches the specified name.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function GetBuildServiceHost ( _
    serviceHostName As String _
) As IBuildServiceHost
IBuildServiceHost GetBuildServiceHost(
    string serviceHostName
)
IBuildServiceHost^ GetBuildServiceHost(
    String^ serviceHostName
)
abstract GetBuildServiceHost : 
        serviceHostName:string -> IBuildServiceHost
function GetBuildServiceHost(
    serviceHostName : String
) : IBuildServiceHost
Parameters
- serviceHostName 
 Type: System.String- The name of the service host. 
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IBuildServiceHost
The build service host for the specified name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.