共用方式為


ITestRun.Refresh 方法 (DateTime)

更新資料的測試回合便會從伺服器,只有在那裡的真正 lastUpdated 參數的傳回具有較新的時間戳記的測試回合,如果測試回合則為更新為新的資料和錯誤

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function Refresh ( _
    lastUpdated As DateTime _
) As Boolean
bool Refresh(
    DateTime lastUpdated
)
bool Refresh(
    DateTime lastUpdated
)
abstract Refresh : 
        lastUpdated:DateTime -> bool 
function Refresh(
    lastUpdated : DateTime
) : boolean

參數

  • lastUpdated
    型別:System.DateTime
    比較測試回合的時間戳記。

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

ITestRun 介面

Refresh 多載

Microsoft.TeamFoundation.TestManagement.Client 命名空間