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
- serviceHostId
Type: System.Int32
Return Value
Type: BuildServer
.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.