Partager via


ServersController.GetBuildServiceHostsById Method

Gets specific build server

Namespace:  Microsoft.TeamFoundation.Build.Server.Rest
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<HttpGetAttribute> _
Public Function GetBuildServiceHostsById ( _
    serviceHostId As Integer _
) As BuildServer
[HttpGetAttribute]
public BuildServer GetBuildServiceHostsById(
    int serviceHostId
)
[HttpGetAttribute]
public:
BuildServer^ GetBuildServiceHostsById(
    int serviceHostId
)
[<HttpGetAttribute>]
member GetBuildServiceHostsById : 
        serviceHostId:int -> BuildServer
public function GetBuildServiceHostsById(
    serviceHostId : int
) : BuildServer

Parameters

Return Value

Type: BuildServer

.NET Framework Security

See Also

Reference

ServersController Class

Microsoft.TeamFoundation.Build.Server.Rest Namespace