Share via


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)

Syntax

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

Parameters

  • databaseConnectionString
    Type: System.String

    The connection String of the collection to attach.

  • cloneCollection
    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.

  • name
    Type: System.String

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

  • description
    Type: System.String

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

  • virtualDirectory
    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

.NET Framework Security

See Also

Reference

ITeamProjectCollectionServicing Interface

QueueAttachCollection Overload

Microsoft.TeamFoundation.Framework.Client Namespace