Delen via


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.Guid

    The team project collection containing the project.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ServicingJobDetail
Returns the servicing job result which contains the job and host Id

.NET Framework Security

See Also

Reference

ITeamProjectCollectionServicing Interface

Microsoft.TeamFoundation.Framework.Client Namespace