ITeamProjectCollectionServicing.QueueAttachCollection Method (String, IDictionary<String, String>, Boolean, String, String, String)

Queues attachment of collection that has the given connection String. This overload will use the existing collection properties to create the collection.

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

ServicingJobDetail QueueAttachCollection(
	string databaseConnectionString,
	IDictionary<string, string> servicingTokens,
	bool cloneCollection,
	string name,
	string description,
	string virtualDirectory


Type: System.String

The connection String of the collection to attach.

Type: System.Collections.Generic.IDictionary<String, String>

Replacement strings for tokens in collection creation servicing steps.

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.

Type: System.String

The new name for this collection or null to use the existing name.

Type: System.String

The new description for this collection or null to use the existing description.

Type: System.String

The public url virtual path associated with the collection or null to use the existing virtual directory.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ServicingJobDetail
Returns the servicing job result which contains the job and host Id