Delen via


VersionControlIntegration.DeleteProject Method

This is the method called by TfsDeleteProject.exe for deleting team projects.

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

Syntax

'Declaration
<WebMethodAttribute> _
<SoapDocumentMethodAttribute(Binding := "IProjectMaintenanceBinding", Action := "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")> _
Public Function DeleteProject ( _
    projectUri As String _
) As Boolean
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Binding = "IProjectMaintenanceBinding", Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")]
public bool DeleteProject(
    string projectUri
)
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Binding = L"IProjectMaintenanceBinding", Action = L"https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")]
public:
bool DeleteProject(
    String^ projectUri
)
[<WebMethodAttribute>]
[<SoapDocumentMethodAttribute(Binding = "IProjectMaintenanceBinding", Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")>]
member DeleteProject : 
        projectUri:string -> bool
public function DeleteProject(
    projectUri : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the folder was present and deleted successfully

.NET Framework Security

See Also

Reference

VersionControlIntegration Class

Microsoft.TeamFoundation.VersionControl.Server Namespace