ITeamProjectCollectionServicing.QueueCreateCollection Method (String, String, Boolean, String, TeamFoundationServiceHostStatus, IDictionary<String, String>)

Queues creation of a new team project collection on the server.

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

ServicingJobDetail QueueCreateCollection(
	string name,
	string description,
	bool isDefault,
	string virtualDirectory,
	TeamFoundationServiceHostStatus state,
	IDictionary<string, string> servicingTokens
)

Parameters

name
Type: System.String

The name of the collection

description
Type: System.String

A description of the collection.

isDefault
Type: System.Boolean

If true, the collection is made the default for older clients not explicitly specifying a collection.

virtualDirectory
Type: System.String

The public url virtual path associated with the collection

state
Type: Microsoft.TeamFoundation.Framework.Common.TeamFoundationServiceHostStatus

the initial state of the collection.

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

Replacement strings for tokens in collection creation servicing steps.

Return Value

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

Show: