共用方式為


ITestSettings Interface

Represents the test settings that are used by test plans and test runs.

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

Syntax

'Declaration
Public Interface ITestSettings _
    Inherits IIdentifiable(Of Integer), INotifyPropertyChanged
public interface ITestSettings : IIdentifiable<int>, 
    INotifyPropertyChanged
public interface class ITestSettings : IIdentifiable<int>, 
    INotifyPropertyChanged
type ITestSettings =  
    interface 
        interface IIdentifiable<int>
        interface INotifyPropertyChanged 
    end
public interface ITestSettings extends IIdentifiable<int>, INotifyPropertyChanged

The ITestSettings type exposes the following members.

Properties

  Name Description
Public property AreaPath Gets or sets the path for an area in Visual Studio Test Professional to which the test plan applies.
Public property CreatedBy Gets the identity of the person who created this test settings object.
Public property CreatedByName User who created the test settings.
Public property CreatedDate Gets the date and time that this test settings object was created.
Public property Description Gets or sets the description of this test settings object.
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property IsAutomated Gets or sets a value that indicates whether the associated test is an automated test.
Public property LastUpdated Gets the date that this test settings object was last updated.
Public property LastUpdatedBy Gets the date and time that this test settings object was last updated.
Public property LastUpdatedByName Last person to update settings
Public property MachineRoles Gets a collection of computer roles that are used by this test settings object.
Public property Name Gets or sets the name of this test settings object.
Public property Revision Gets the current incremental revision number that is used for concurrency control.
Public property Settings Gets or sets the actual settings as an XML element.

Top

Methods

  Name Description
Public method Delete Removes this test settings object from the server.
Public method Refresh Updates this test settings by using new data from the server.
Public method Save Writes the new or updated test settings to the server.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestPlan

ITestRun