Delen via


TeamProjectCollectionService.QueueAttachCollection Method

Attach a team project collection that has been detached from a Team Foundation Server of version 2010 or later.

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

Syntax

'Declaration
Public Function QueueAttachCollection ( _
    requestContext As TeamFoundationRequestContext, _
    collectionProperties As TeamProjectCollectionProperties, _
    servicingTokens As IDictionary(Of String, String), _
    cloneCollection As Boolean _
) As ServicingJobDetail
public ServicingJobDetail QueueAttachCollection(
    TeamFoundationRequestContext requestContext,
    TeamProjectCollectionProperties collectionProperties,
    IDictionary<string, string> servicingTokens,
    bool cloneCollection
)
public:
ServicingJobDetail^ QueueAttachCollection(
    TeamFoundationRequestContext^ requestContext, 
    TeamProjectCollectionProperties^ collectionProperties, 
    IDictionary<String^, String^>^ servicingTokens, 
    bool cloneCollection
)
member QueueAttachCollection : 
        requestContext:TeamFoundationRequestContext * 
        collectionProperties:TeamProjectCollectionProperties * 
        servicingTokens:IDictionary<string, string> * 
        cloneCollection:bool -> ServicingJobDetail
public function QueueAttachCollection(
    requestContext : TeamFoundationRequestContext, 
    collectionProperties : TeamProjectCollectionProperties, 
    servicingTokens : IDictionary<String, String>, 
    cloneCollection : boolean
) : ServicingJobDetail

Parameters

  • cloneCollection
    Type: System.Boolean

    True if this collection should be a clone of the collection that was detached. If true, the collection instance id will get regenerated.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
Returns the ServicingJobDetail object for the job that was queued to attach the collection

.NET Framework Security

See Also

Reference

TeamProjectCollectionService Class

Microsoft.TeamFoundation.Server.Core Namespace