ITeamProjectCollectionServicing.QueueCreateCollection Method (String, String, Boolean, String, TeamFoundationServiceHostStatus, IDictionary<String, String>, String, String, 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), _
    dataTierConnectionString As String, _
    defaultConnectionString As String, _
    databaseCategoryConnectionStrings As IDictionary(Of String, String) _
) As ServicingJobDetail
ServicingJobDetail QueueCreateCollection(
    string name,
    string description,
    bool isDefault,
    string virtualDirectory,
    TeamFoundationServiceHostStatus state,
    IDictionary<string, string> servicingTokens,
    string dataTierConnectionString,
    string defaultConnectionString,
    IDictionary<string, string> databaseCategoryConnectionStrings
)
ServicingJobDetail^ QueueCreateCollection(
    String^ name, 
    String^ description, 
    bool isDefault, 
    String^ virtualDirectory, 
    TeamFoundationServiceHostStatus state, 
    IDictionary<String^, String^>^ servicingTokens, 
    String^ dataTierConnectionString, 
    String^ defaultConnectionString, 
    IDictionary<String^, String^>^ databaseCategoryConnectionStrings
)
abstract QueueCreateCollection : 
        name:string * 
        description:string * 
        isDefault:bool * 
        virtualDirectory:string * 
        state:TeamFoundationServiceHostStatus * 
        servicingTokens:IDictionary<string, string> * 
        dataTierConnectionString:string * 
        defaultConnectionString:string * 
        databaseCategoryConnectionStrings:IDictionary<string, string> -> ServicingJobDetail
function QueueCreateCollection(
    name : String, 
    description : String, 
    isDefault : boolean, 
    virtualDirectory : String, 
    state : TeamFoundationServiceHostStatus, 
    servicingTokens : IDictionary<String, String>, 
    dataTierConnectionString : String, 
    defaultConnectionString : String, 
    databaseCategoryConnectionStrings : 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

  • dataTierConnectionString
    Type: System.String

    A connection String to the SQL instance to create new collection database(s) on. Optional.

  • defaultConnectionString
    Type: System.String

    A connection String to an existing empty database to be populated by CreateCollection. Database categories not associated with another connection String will default to this connection String. Optional.

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

    A dictionary mapping database categories to connection strings for existing empty databases to be populated by CreateCollection. Values here override the default connection String, if supplied. Optional.

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