TeamFoundationBuildResourceService.AddBuildServiceHost Method

Adds a build service host to the server.

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

Syntax

'Declaration
Public Function AddBuildServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    serviceHost As BuildServiceHost _
) As BuildServiceHost
public BuildServiceHost AddBuildServiceHost(
    TeamFoundationRequestContext requestContext,
    BuildServiceHost serviceHost
)
public:
BuildServiceHost^ AddBuildServiceHost(
    TeamFoundationRequestContext^ requestContext, 
    BuildServiceHost^ serviceHost
)
member AddBuildServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        serviceHost:BuildServiceHost -> BuildServiceHost
public function AddBuildServiceHost(
    requestContext : TeamFoundationRequestContext, 
    serviceHost : BuildServiceHost
) : BuildServiceHost

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHost
The build service host that was added.

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace