다음을 통해 공유


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.String

    Name of deployment enviornment.

  • teamProject
    Type: System.String

    Name of project associated with this deployment enviornment.

.NET Framework Security

See Also

Reference

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace