Delen via


ITestEnvironmentHelper.Update Method

Persists the updated properties of all test environments to the server.

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

Syntax

'Declaration
Sub Update ( _
    testEnvironments As IEnumerable(Of ITestEnvironment) _
)
void Update(
    IEnumerable<ITestEnvironment> testEnvironments
)
void Update(
    IEnumerable<ITestEnvironment^>^ testEnvironments
)
abstract Update : 
        testEnvironments:IEnumerable<ITestEnvironment> -> unit
function Update(
    testEnvironments : IEnumerable<ITestEnvironment>
)

Parameters

Exceptions

Exception Condition
TestManagementInvalidOperationException

One or more of the provided test environments is not registered.

Remarks

The test environment properties are always updated, even if no test environment properties have changed.

.NET Framework Security

See Also

Reference

ITestEnvironmentHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestEnvironment