This documentation is archived and is not being maintained.

DeploymentService::DisconnectAzureCloudApp Method

Deletes DeploymentEnvironment for deploying to the given Azure hosted service and disables the associated build defintion.

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

public:
void DisconnectAzureCloudApp(
	String^ teamProject, 
	String^ hostedServiceName
)

Parameters

teamProject
Type: System::String

The name of the team project with which to disconnect

hostedServiceName
Type: System::String

The name of the hosted service to disconnect

Show: