ITeamProjectCollectionServicing.DeleteProject Method
Deletes a project and waits for initial deletion operation to complete.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function DeleteProject ( _
collectionId As Guid, _
projectUri As String, _
servicingTokens As Dictionary(Of String, String) _
) As ServicingJobDetail
ServicingJobDetail DeleteProject(
Guid collectionId,
string projectUri,
Dictionary<string, string> servicingTokens
)
ServicingJobDetail^ DeleteProject(
Guid collectionId,
String^ projectUri,
Dictionary<String^, String^>^ servicingTokens
)
abstract DeleteProject :
collectionId:Guid *
projectUri:string *
servicingTokens:Dictionary<string, string> -> ServicingJobDetail
function DeleteProject(
collectionId : Guid,
projectUri : String,
servicingTokens : Dictionary<String, String>
) : ServicingJobDetail
Parameters
collectionId
Type: System.GuidThe team project collection containing the project.
projectUri
Type: System.StringThe project to be deleted.
servicingTokens
Type: System.Collections.Generic.Dictionary<String, String>Replacement strings for tokens in project deletion servicing steps.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.ServicingJobDetail
Returns the servicing job result which contains the job and host Id
.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.