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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- projectUri
Type: System.String
.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.