Share via


ITestRun.Refresh Method (DateTime)

Updates the test run with the new data from the server only if there exists a test run with newer timestamp than lastUpdated parameter Returns true if test run was updated with the new data and false otherwise

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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

Parameters

  • lastUpdated
    Type: DateTime

    Timestamp to compare the test run with

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ITestRun Interface

Refresh Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace