TeamFoundationDeploymentService.DisconnectAzureCloudApp Method

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

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationDeploymentService Class

Microsoft.TeamFoundation.Build.Server Namespace