Delen via


TeamProjectCollectionService.QueueDeleteCollection Method

Queue a job to delete a team project collection.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function QueueDeleteCollection ( _
    requestContext As TeamFoundationRequestContext, _
    collectionId As Guid _
) As ServicingJobDetail
public ServicingJobDetail QueueDeleteCollection(
    TeamFoundationRequestContext requestContext,
    Guid collectionId
)
public:
ServicingJobDetail^ QueueDeleteCollection(
    TeamFoundationRequestContext^ requestContext, 
    Guid collectionId
)
member QueueDeleteCollection : 
        requestContext:TeamFoundationRequestContext * 
        collectionId:Guid -> ServicingJobDetail
public function QueueDeleteCollection(
    requestContext : TeamFoundationRequestContext, 
    collectionId : Guid
) : ServicingJobDetail

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
The ID for the job that will be used to delete the collection.

.NET Framework Security

See Also

Reference

TeamProjectCollectionService Class

Microsoft.TeamFoundation.Server.Core Namespace