Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
projectUri
Type: System.Stringteam project uri
Return Value
Type: System.Boolean
true if the folder was present and deleted successfully
.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.