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
- deploymentContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
hostId
Type: System.GuidThe collection host id.
poolName
Type: System.StringThe target pool name. A target database id will be acquired from the pool.
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.