BuildDeploymentWebService.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
<WebMethodAttribute> _
Public Sub DisconnectAzureCloudApp ( _
teamProject As String, _
hostedServiceName As String _
)
[WebMethodAttribute]
public void DisconnectAzureCloudApp(
string teamProject,
string hostedServiceName
)
[WebMethodAttribute]
public:
void DisconnectAzureCloudApp(
String^ teamProject,
String^ hostedServiceName
)
[<WebMethodAttribute>]
member DisconnectAzureCloudApp :
teamProject:string *
hostedServiceName:string -> unit
public function DisconnectAzureCloudApp(
teamProject : String,
hostedServiceName : String
)
Parameters
- 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.