Partager via


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)

Syntax

'Declaration
Function QueueCreateCollection ( _
    name As String, _
    description As String, _
    isDefault As Boolean, _
    virtualDirectory As String, _
    state As TeamFoundationServiceHostStatus, _
    servicingTokens As IDictionary(Of String, String) _
) As ServicingJobDetail
ServicingJobDetail QueueCreateCollection(
    string name,
    string description,
    bool isDefault,
    string virtualDirectory,
    TeamFoundationServiceHostStatus state,
    IDictionary<string, string> servicingTokens
)
ServicingJobDetail^ QueueCreateCollection(
    String^ name, 
    String^ description, 
    bool isDefault, 
    String^ virtualDirectory, 
    TeamFoundationServiceHostStatus state, 
    IDictionary<String^, String^>^ servicingTokens
)
abstract QueueCreateCollection : 
        name:string * 
        description:string * 
        isDefault:bool * 
        virtualDirectory:string * 
        state:TeamFoundationServiceHostStatus * 
        servicingTokens:IDictionary<string, string> -> ServicingJobDetail
function QueueCreateCollection(
    name : String, 
    description : String, 
    isDefault : boolean, 
    virtualDirectory : String, 
    state : TeamFoundationServiceHostStatus, 
    servicingTokens : IDictionary<String, String>
) : ServicingJobDetail

Parameters

  • 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

Return Value

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

.NET Framework Security

See Also

Reference

ITeamProjectCollectionServicing Interface

QueueCreateCollection Overload

Microsoft.TeamFoundation.Framework.Client Namespace