Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This is the method called by TfsDeleteProject.exe for deleting team projects.
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
<SoapDocumentMethodAttribute(Binding := "IProjectMaintenanceBinding", Action := "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")> _
<ClientIgnoreAttribute> _
Public Function DeleteProject ( _
projectUri As String _
) As Boolean
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Binding = "IProjectMaintenanceBinding", Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")]
[ClientIgnoreAttribute]
public bool DeleteProject(
string projectUri
)
[WebMethodAttribute]
[SoapDocumentMethodAttribute(Binding = L"IProjectMaintenanceBinding", Action = L"https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")]
[ClientIgnoreAttribute]
public:
bool DeleteProject(
String^ projectUri
)
[<WebMethodAttribute>]
[<SoapDocumentMethodAttribute(Binding = "IProjectMaintenanceBinding", Action = "https://schemas.microsoft.com/TeamFoundation/2005/06/Services/Admin/03/DeleteProject")>]
[<ClientIgnoreAttribute>]
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.