Delen via


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)

Syntax

'Declaration
Public Sub DisconnectAzureCloudApp ( _
    teamProject As String, _
    hostedServiceName As String _
)
public void DisconnectAzureCloudApp(
    string teamProject,
    string hostedServiceName
)
public:
void DisconnectAzureCloudApp(
    String^ teamProject, 
    String^ hostedServiceName
)
member DisconnectAzureCloudApp : 
        teamProject:string * 
        hostedServiceName:string -> unit
public function DisconnectAzureCloudApp(
    teamProject : String, 
    hostedServiceName : String
)

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

.NET Framework Security

See Also

Reference

DeploymentService Class

Microsoft.TeamFoundation.Build.Client Namespace