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
name
Type: System.StringThe name of the collection
description
Type: System.StringA description of the collection.
isDefault
Type: System.BooleanIf true, the collection is made the default for older clients not explicitly specifying a collection.
virtualDirectory
Type: System.StringThe public url virtual path associated with the collection
state
Type: Microsoft.TeamFoundation.Framework.Common.TeamFoundationServiceHostStatusthe initial state of the collection.
servicingTokens
Type: System.Collections.Generic.IDictionary<String, String>Replacement strings for tokens in collection creation servicing steps.
dataTierConnectionString
Type: System.StringA connection String to the SQL instance to create new collection database(s) on. Optional.
defaultConnectionString
Type: System.StringA 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
- 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.
See Also
Reference
ITeamProjectCollectionServicing Interface