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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
serviceHost
Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHostThe build service host to add.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildServiceHost
The build service host that was added.
.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.