This documentation is archived and is not being maintained.
DeploymentService::CreateBuildDeployment Method
Visual Studio 2013
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::BuildDeploymentA BuildDeployment that contains basic information about the deployment build and the source build.
- 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.
Show: