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
testEnvironments
Type: IEnumerable<ITestEnvironment>A list of ITestEnvironment objects.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestEnvironmentHelper Interface