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.StringThe name of the team project with which to disconnect
hostedServiceName
Type: System.StringThe name of the hosted service to disconnect
.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.