BuildDeploymentWebService.DeleteDeploymentEnvironment Method
Deletes a deployment environment. Does not delete the associated connected service.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub DeleteDeploymentEnvironment ( _
environmentName As String, _
teamProject As String _
)
[WebMethodAttribute]
public void DeleteDeploymentEnvironment(
string environmentName,
string teamProject
)
[WebMethodAttribute]
public:
void DeleteDeploymentEnvironment(
String^ environmentName,
String^ teamProject
)
[<WebMethodAttribute>]
member DeleteDeploymentEnvironment :
environmentName:string *
teamProject:string -> unit
public function DeleteDeploymentEnvironment(
environmentName : String,
teamProject : String
)
Parameters
environmentName
Type: System.StringName of deployment enviornment.
teamProject
Type: System.StringName of project associated with this deployment enviornment.
.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.