共用方式為


DeploymentEnvironment.EnvironmentMetadata 屬性

部署環境中繼資料 (包括名稱的 ID), connectedServiceName、易記名稱、描述、類型、TeamProject 和 ProjectId

命名空間:  Microsoft.TeamFoundation.Build.Server
組件:  Microsoft.TeamFoundation.Build.Server (在 Microsoft.TeamFoundation.Build.Server.dll 中)

語法

'宣告
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction := ClientPropertySerialization.ServerToClientOnly)> _
Public Property EnvironmentMetadata As DeploymentEnvironmentMetadata
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ServerToClientOnly)]
public DeploymentEnvironmentMetadata EnvironmentMetadata { get; set; }

屬性值

型別:Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentMetadata

.NET Framework 安全性

請參閱

參考

DeploymentEnvironment 類別

Microsoft.TeamFoundation.Build.Server 命名空間