TeamFoundationBuildService.DeleteTeamProject Method

Deletes all objects that belong to the specified team project.

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

Syntax

'Declaration
Public Function DeleteTeamProject ( _
    requestContext As TeamFoundationRequestContext, _
    projectUri As String _
) As Boolean
public bool DeleteTeamProject(
    TeamFoundationRequestContext requestContext,
    string projectUri
)
public:
bool DeleteTeamProject(
    TeamFoundationRequestContext^ requestContext, 
    String^ projectUri
)
member DeleteTeamProject : 
        requestContext:TeamFoundationRequestContext * 
        projectUri:string -> bool
public function DeleteTeamProject(
    requestContext : TeamFoundationRequestContext, 
    projectUri : String
) : boolean

Parameters

  • projectUri
    Type: System.String

    The URI of the team project to delete.

Return Value

Type: System.Boolean
True if the delete was successful; false otherwise.

.NET Framework Security

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace