ITeamProjectCollectionServicing.QueueAttachCollection Method (String, IDictionary<String, String>, Boolean)
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 _
) As ServicingJobDetail
ServicingJobDetail QueueAttachCollection(
string databaseConnectionString,
IDictionary<string, string> servicingTokens,
bool cloneCollection
)
ServicingJobDetail^ QueueAttachCollection(
String^ databaseConnectionString,
IDictionary<String^, String^>^ servicingTokens,
bool cloneCollection
)
abstract QueueAttachCollection :
databaseConnectionString:string *
servicingTokens:IDictionary<string, string> *
cloneCollection:bool -> ServicingJobDetail
function QueueAttachCollection(
databaseConnectionString : String,
servicingTokens : IDictionary<String, String>,
cloneCollection : boolean
) : ServicingJobDetail
Parameters
databaseConnectionString
Type: System.StringThe connection String of the collection to attach.
servicingTokens
Type: System.Collections.Generic.IDictionary<String, String>Replacement strings for tokens in collection creation servicing steps.
cloneCollection
Type: System.BooleanTrue if this collection should be a clone of the collection that was detached. If true, the collection instance id will get regenerated.
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