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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- collectionId
Type: System.Guid
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
The ID for the job that will be used to delete the collection.
.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.