共用方式為


DeploymentEnvironmentCreationData.EnvironmentMetadata Property

The deployment environment metadata which includes the name (ID), connectedServiceName, friendly name, description, kind, TeamProject and ProjectId

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

Syntax

'Declaration
Public ReadOnly Property EnvironmentMetadata As DeploymentEnvironmentMetadata
public DeploymentEnvironmentMetadata EnvironmentMetadata { get; }
public:
property DeploymentEnvironmentMetadata^ EnvironmentMetadata {
    DeploymentEnvironmentMetadata^ get ();
}
member EnvironmentMetadata : DeploymentEnvironmentMetadata with get
function get EnvironmentMetadata () : DeploymentEnvironmentMetadata

Property Value

Type: Microsoft.TeamFoundation.Build.Client.DeploymentEnvironmentMetadata
Returns DeploymentEnvironmentMetadata.

.NET Framework Security

See Also

Reference

DeploymentEnvironmentCreationData Class

Microsoft.TeamFoundation.Build.Client Namespace