TeamFoundationHostedBuildService.SetHostedBuildSettings Method
Sets global settings that a TFS deployment must have to perform hosted builds
Namespace: Microsoft.TeamFoundation.Build.Hosted.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub SetHostedBuildSettings ( _
requestContext As TeamFoundationRequestContext, _
settings As HostedBuildSettings _
)
public void SetHostedBuildSettings(
TeamFoundationRequestContext requestContext,
HostedBuildSettings settings
)
public:
void SetHostedBuildSettings(
TeamFoundationRequestContext^ requestContext,
HostedBuildSettings^ settings
)
member SetHostedBuildSettings :
requestContext:TeamFoundationRequestContext *
settings:HostedBuildSettings -> unit
public function SetHostedBuildSettings(
requestContext : TeamFoundationRequestContext,
settings : HostedBuildSettings
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextDeployment-level context to use
settings
Type: Microsoft.TeamFoundation.Build.Common.HostedBuildSettingsNew settings. Replaces all existing settings
.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.