TeamFoundationVersionControlService.CheckInShelveset 方法

為簽入送出現有的擱置集。 在簽入之後,工作項目與變更集產生關聯或解決。

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

語法

'宣告
Public Function CheckInShelveset ( _
    requestContext As TeamFoundationRequestContext, _
    shelvesetName As String, _
    ownerName As String, _
    changesetOwner As String, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    checkinOptions As Integer _
) As TeamFoundationDataReader
public TeamFoundationDataReader CheckInShelveset(
    TeamFoundationRequestContext requestContext,
    string shelvesetName,
    string ownerName,
    string changesetOwner,
    CheckinNotificationInfo checkinNotificationInfo,
    int checkinOptions
)

參數

  • shelvesetName
    類型:System.String
    送出的擱置集的名稱。
  • checkinOptions
    類型:System.Int32
    索引標籤控制項進行驗證。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
含有結果的 TeamFoundationDataReader 在下列順序:CheckInResult -與變更集建立和移除的變更簽入結果。失敗 ([] ) 時,就會嘗試為簽入時間衝突的清單。失敗 [-錯誤,則嘗試要簽入了錯誤和警告的清單。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間