Partager via


ITestEnvironment.Id Property

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

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

Syntax

'Declaration
Property Id As Guid
Guid Id { get; set; }
property Guid Id {
    Guid get ();
    void set (Guid value);
}
abstract Id : Guid with get, set
function get Id () : Guid 
function set Id (value : Guid)

Property Value

Type: Guid
The identifier for the registered test environment.

Remarks

If the GUID is empty, the environment has not yet been registered. Calling Register provides the environment with a valid GUID.

.NET Framework Security

See Also

Reference

ITestEnvironment Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

Register