Share via


TeamFoundationDeploymentService.DeleteTeamProject Method

Deletes deployment environments and connnected services associated to those environments. This methods expects an elevated request context in order to delete strong box entries. It also will catch all exceptions and print them but not re-throw - best effort method.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Sub DeleteTeamProject ( _
    requestContext As TeamFoundationRequestContext, _
    projectUri As String _
)
public void DeleteTeamProject(
    TeamFoundationRequestContext requestContext,
    string projectUri
)
public:
void DeleteTeamProject(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectUri
)
member DeleteTeamProject : 
        requestContext:TeamFoundationRequestContext * 
        projectUri:string -> unit
public function DeleteTeamProject(
    requestContext : TeamFoundationRequestContext, 
    projectUri : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationDeploymentService Class

Microsoft.TeamFoundation.Build.Server Namespace