This documentation is archived and is not being maintained.

DeploymentService::CreateBuildDeployment Method

Mark build as a deployment and the associated build being deployed.

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

public:
BuildDeployment^ CreateBuildDeployment(
	Uri^ deploymentUri, 
	Uri^ sourceUri, 
	String^ environmentName
)

Parameters

deploymentUri
Type: System::Uri

The build Uri that runs the deployment.

sourceUri
Type: System::Uri

The build Uri for the build being deployed.

environmentName
Type: System::String

Return Value

Type: Microsoft.TeamFoundation.Build.Client::BuildDeployment
A BuildDeployment that contains basic information about the deployment build and the source build.

Show: