Delen via


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

Move a collection into the specified database pool.

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, _
    poolName As String, _
    deleteSource As Boolean _
) As ServicingJobDetail
public ServicingJobDetail QueueMoveCollection(
    TeamFoundationRequestContext deploymentContext,
    Guid hostId,
    string poolName,
    bool deleteSource
)
public:
ServicingJobDetail^ QueueMoveCollection(
    TeamFoundationRequestContext^ deploymentContext, 
    Guid hostId, 
    String^ poolName, 
    bool deleteSource
)
member QueueMoveCollection : 
        deploymentContext:TeamFoundationRequestContext * 
        hostId:Guid * 
        poolName:string * 
        deleteSource:bool -> ServicingJobDetail
public function QueueMoveCollection(
    deploymentContext : TeamFoundationRequestContext, 
    hostId : Guid, 
    poolName : String, 
    deleteSource : boolean
) : ServicingJobDetail

Parameters

  • poolName
    Type: System.String

    The target pool name. A target database id will be acquired from the pool.

  • 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