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
比較測試回合的時間戳記。
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。