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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- teamProject
Type: System.String
- hostedServiceName
Type: System.String
.NET Framework Security
- 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.