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)

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
System_CAPS_pubproperty ControllerDisplayName

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

System_CAPS_pubproperty ControllerEnvironmentId

Gets or sets the ID of the controller.

System_CAPS_pubproperty ControllerName

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

System_CAPS_pubproperty DateCreated

Gets the date and time that the environment was created.

System_CAPS_pubproperty Description

Gets or sets the description of the test environment.

System_CAPS_pubproperty DisplayName

Gets or sets the display name for the test environment.

System_CAPS_pubproperty EnvironmentType

Gets or sets a string that represents the environment type.

System_CAPS_pubproperty Error

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty Id

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

System_CAPS_pubproperty InvalidProperties

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

System_CAPS_pubproperty IsDirty

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

System_CAPS_pubproperty Item[String]

(Inherited from IDataErrorInfo.)

System_CAPS_pubproperty LabEnvironmentUri

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

System_CAPS_pubproperty LabServerUri

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

System_CAPS_pubproperty MachineRoles

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

System_CAPS_pubproperty Name

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

System_CAPS_pubproperty Owner

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

System_CAPS_pubproperty Properties

Gets the property bag for the test controller.

System_CAPS_pubproperty TeamProject

Gets the team project that owns the test environment.

System_CAPS_pubproperty TestController

Gets the test controller that owns the test environment.

Methods

Name Description
System_CAPS_pubmethod Register()

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

System_CAPS_pubmethod Unregister()

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

System_CAPS_pubmethod Update()

Persists the updated properties of the test environment.

Events

Name Description
System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

See Also

ITestEnvironmentHelper
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top