Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a test environment in the test management client.
Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
public interface ITestEnvironment : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
public interface class ITestEnvironment : IPropertyOwner, IDataErrorInfo, 
    INotifyPropertyChanged
type ITestEnvironment = 
    interface
        interface IPropertyOwner
        interface IDataErrorInfo
        interface INotifyPropertyChanged
    end
Public Interface ITestEnvironment
    Inherits IPropertyOwner, IDataErrorInfo, INotifyPropertyChanged
Properties
| Name | Description | |
|---|---|---|
![]()  | 
ControllerDisplayName | Gets the display name of the test controller that owns the test environment.  | 
![]()  | 
ControllerEnvironmentId | Gets or sets the ID of the controller.  | 
![]()  | 
ControllerName | Gets the name of the controller that owns the test environment.  | 
![]()  | 
DateCreated | Gets the date and time that the environment was created.  | 
![]()  | 
Description | Gets or sets the description of the test environment.  | 
![]()  | 
DisplayName | Gets or sets the display name for the test environment.  | 
![]()  | 
EnvironmentType | Gets or sets a string that represents the environment type.  | 
![]()  | 
Error | (Inherited from IDataErrorInfo.)  | 
![]()  | 
Id | Gets the identifier for the test environment, as registered in Visual Studio Team Foundation Server.  | 
![]()  | 
InvalidProperties | Gets a list of property names that are invalid.(Inherited from IPropertyOwner.)  | 
![]()  | 
IsDirty | Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save.(Inherited from IPropertyOwner.)  | 
![]()  | 
Item[String] | (Inherited from IDataErrorInfo.)  | 
![]()  | 
LabEnvironmentUri | Gets or sets the uniform resource identifier (URI) for the corresponding lab environment.  | 
![]()  | 
LabServerUri | Gets or sets the URI for the lab server on which the corresponding lab environment can be found.  | 
![]()  | 
MachineRoles | Gets or sets a collection of machine roles in this test environment.  | 
![]()  | 
Name | Gets or sets the unique name for this test environment under a team project or test controller.  | 
![]()  | 
Owner | Gets or sets the identity of the person who owns this environment.  | 
![]()  | 
Properties | Gets the property bag for the test controller.  | 
![]()  | 
TeamProject | Gets the team project that owns the test environment.  | 
![]()  | 
TestController | Gets the test controller that owns the test environment.  | 
Methods
| Name | Description | |
|---|---|---|
![]()  | 
Register() | Registers this test environment with the team project collection and sets the Id.  | 
![]()  | 
Unregister() | Unregisters this test environment and its test environments from the team project collection.  | 
![]()  | 
Update() | Persists the updated properties of the test environment.  | 
Events
| Name | Description | |
|---|---|---|
![]()  | 
PropertyChanged | (Inherited from INotifyPropertyChanged.)  | 
See Also
ITestEnvironmentHelper
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top
.jpeg)
.gif)
.jpeg)