ITestEnvironment.Register Method

Registers this test environment with the team project collection and sets the Id.

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

Syntax

'Declaration
Sub Register
void Register()
void Register()
abstract Register : unit -> unit
function Register()

Exceptions

Exception Condition
TestManagementInvalidOperationException

The test environment was already registered or is missing either the team project or test controller properties.

.NET Framework Security

See Also

Reference

ITestEnvironment Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

Id