Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Queues the snapshot operation for the collection.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function QueueDetachCollection ( _
collectionId As Guid, _
servicingTokens As IDictionary(Of String, String), _
collectionStoppedMessage As String, _
<OutAttribute> ByRef detachedConnectionString As String _
) As ServicingJobDetail
ServicingJobDetail QueueDetachCollection(
Guid collectionId,
IDictionary<string, string> servicingTokens,
string collectionStoppedMessage,
out string detachedConnectionString
)
ServicingJobDetail^ QueueDetachCollection(
Guid collectionId,
IDictionary<String^, String^>^ servicingTokens,
String^ collectionStoppedMessage,
[OutAttribute] String^% detachedConnectionString
)
abstract QueueDetachCollection :
collectionId:Guid *
servicingTokens:IDictionary<string, string> *
collectionStoppedMessage:string *
detachedConnectionString:string byref -> ServicingJobDetail
function QueueDetachCollection(
collectionId : Guid,
servicingTokens : IDictionary<String, String>,
collectionStoppedMessage : String,
detachedConnectionString : String
) : ServicingJobDetail
Parameters
collectionId
Type: System.GuidThe id of the collection to snapshot.
servicingTokens
Type: System.Collections.Generic.IDictionary<String, String>Replacement strings for tokens in collection creation servicing steps.
collectionStoppedMessage
Type: System.StringThe message to show for requests that hit this collection since it will be taken offline if it isn't already.
detachedConnectionString
Type: System.String%If true, the collection data will be prepared for attach and left attached to the current TFS Instance.
The connection string to the database of the detached collection.
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