TeamFoundationDeploymentService.CreateBuildDeployment-Methode

Markieren Sie Build wie eine Bereitstellung und den zugeordneten Build, der bereitgestellt wird.

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

Syntax

'Declaration
Public Function CreateBuildDeployment ( _
    requestContext As TeamFoundationRequestContext, _
    deploymentUri As String, _
    sourceUri As String, _
    environmentName As String _
) As BuildDeployment
public BuildDeployment CreateBuildDeployment(
    TeamFoundationRequestContext requestContext,
    string deploymentUri,
    string sourceUri,
    string environmentName
)

Parameter

  • deploymentUri
    Typ: System.String
    Der Build URI, der die Bereitstellung ausführt.
  • sourceUri
    Typ: System.String
    Der Build URI für den Build, der bereitgestellt wird.

Rückgabewert

Typ: Microsoft.TeamFoundation.Build.Server.BuildDeployment
Ein BuildDeployment [] das grundlegende Informationen über den Bereitstellungsbuild und den Quellbuild enthält.

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationDeploymentService Klasse

Microsoft.TeamFoundation.Build.Server-Namespace