共用方式為


TeamProjectCollectionService.QueueDetachCollection 方法

將集合的快照作業。

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Function QueueDetachCollection ( _
    requestContext As TeamFoundationRequestContext, _
    collectionId As Guid, _
    servicingTokens As IDictionary(Of String, String), _
    collectionStoppedMessage As String, _
    <OutAttribute> ByRef detachedConnectionString As String _
) As ServicingJobDetail
public ServicingJobDetail QueueDetachCollection(
    TeamFoundationRequestContext requestContext,
    Guid collectionId,
    IDictionary<string, string> servicingTokens,
    string collectionStoppedMessage,
    out string detachedConnectionString
)

參數

  • collectionStoppedMessage
    類型:System.String
    要顯示的訊息會叫用這個集合的要求,因為它會離線,如果尚未。
  • detachedConnectionString
    類型:System.String%
    中斷連結的集合的連接字串。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
暫止中斷連結的主機識別項。

.NET Framework 安全性

請參閱

參考

TeamProjectCollectionService 類別

Microsoft.TeamFoundation.Server.Core 命名空間