This documentation is archived and is not being maintained.

DeploymentService::ConnectAzureWebsite Method

Connect a Microsoft Azure website to a Team Project. This method creates a deployment environment for the given Microsoft Azure website and then creates a Continuous Integration build definition for deploying builds to that site.

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

public:
void ConnectAzureWebsite(
	String^ teamProject, 
	String^ subscriptionId, 
	String^ webspace, 
	String^ website
)

Parameters

teamProject
Type: System::String

The name of the team project with which to connect

subscriptionId
Type: System::String

The subscription Id of the Microsoft Azure website. Corresponds to the name of a connected service.

webspace
Type: System::String

The webspace of the Microsoft Azure website.

website
Type: System::String

The Microsoft Azure website name.

Show: