Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestEnvironment Interface

 

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)

public interface ITestEnvironment : IPropertyOwner, IDataErrorInfo, 
	INotifyPropertyChanged

NameDescription
System_CAPS_pubpropertyControllerDisplayName

Gets the display name of the test controller that owns the test environment.

System_CAPS_pubpropertyControllerEnvironmentId

Gets or sets the ID of the controller.

System_CAPS_pubpropertyControllerName

Gets the name of the controller that owns the test environment.

System_CAPS_pubpropertyDateCreated

Gets the date and time that the environment was created.

System_CAPS_pubpropertyDescription

Gets or sets the description of the test environment.

System_CAPS_pubpropertyDisplayName

Gets or sets the display name for the test environment.

System_CAPS_pubpropertyEnvironmentType

Gets or sets a string that represents the environment type.

System_CAPS_pubpropertyError

(Inherited from IDataErrorInfo.)

System_CAPS_pubpropertyId

Gets the identifier for the test environment, as registered in Visual Studio Team Foundation Server.

System_CAPS_pubpropertyInvalidProperties

Gets a list of property names that are invalid.(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyIsDirty

Gets a value that indicates whether any properties have changed since the last refresh, fetch, or save.(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyItem[String]

(Inherited from IDataErrorInfo.)

System_CAPS_pubpropertyLabEnvironmentUri

Gets or sets the uniform resource identifier (URI) for the corresponding lab environment.

System_CAPS_pubpropertyLabServerUri

Gets or sets the URI for the lab server on which the corresponding lab environment can be found.

System_CAPS_pubpropertyMachineRoles

Gets or sets a collection of machine roles in this test environment.

System_CAPS_pubpropertyName

Gets or sets the unique name for this test environment under a team project or test controller.

System_CAPS_pubpropertyOwner

Gets or sets the identity of the person who owns this environment.

System_CAPS_pubpropertyProperties

Gets the property bag for the test controller.

System_CAPS_pubpropertyTeamProject

Gets the team project that owns the test environment.

System_CAPS_pubpropertyTestController

Gets the test controller that owns the test environment.

NameDescription
System_CAPS_pubmethodRegister()

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

System_CAPS_pubmethodUnregister()

Unregisters this test environment and its test environments from the team project collection.

System_CAPS_pubmethodUpdate()

Persists the updated properties of the test environment.

NameDescription
System_CAPS_pubeventPropertyChanged

(Inherited from INotifyPropertyChanged.)

Return to top
Show: