Share 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
ReadOnly Property Id As Guid
Guid Id { get; }
property Guid Id {
    Guid get ();
}
abstract Id : Guid
function get Id () : Guid

Property Value

Type: System.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