Share via


TeamFoundationServicingService.QueueMoveCollection Method (TeamFoundationRequestContext, Guid, Int32, Boolean)

Move a collection into the target database.

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

Syntax

'Declaration
Public Function QueueMoveCollection ( _
    deploymentContext As TeamFoundationRequestContext, _
    hostId As Guid, _
    targetDatabaseId As Integer, _
    deleteSource As Boolean _
) As ServicingJobDetail
public ServicingJobDetail QueueMoveCollection(
    TeamFoundationRequestContext deploymentContext,
    Guid hostId,
    int targetDatabaseId,
    bool deleteSource
)
public:
ServicingJobDetail^ QueueMoveCollection(
    TeamFoundationRequestContext^ deploymentContext, 
    Guid hostId, 
    int targetDatabaseId, 
    bool deleteSource
)
member QueueMoveCollection : 
        deploymentContext:TeamFoundationRequestContext * 
        hostId:Guid * 
        targetDatabaseId:int * 
        deleteSource:bool -> ServicingJobDetail
public function QueueMoveCollection(
    deploymentContext : TeamFoundationRequestContext, 
    hostId : Guid, 
    targetDatabaseId : int, 
    deleteSource : boolean
) : ServicingJobDetail

Parameters

  • targetDatabaseId
    Type: System.Int32

    The target database id.

  • deleteSource
    Type: System.Boolean

    If true, mark the source partition for deletion after the move.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
Returns ServicingJobDetail.

.NET Framework Security

See Also

Reference

TeamFoundationServicingService Class

QueueMoveCollection Overload

Microsoft.TeamFoundation.Framework.Server Namespace