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
- deploymentContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
hostId
Type: System.GuidThe collection host id.
targetDatabaseId
Type: System.Int32The target database id.
deleteSource
Type: System.BooleanIf true, mark the source partition for deletion after the move.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
Returns ServicingJobDetail.
.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.