共用方式為


DeploymentEnvironmentCreationData.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.ClientToServerOnly)> _
Public Property EnvironmentMetadata As DeploymentEnvironmentMetadata
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, Direction = ClientPropertySerialization.ClientToServerOnly)]
public DeploymentEnvironmentMetadata EnvironmentMetadata { get; set; }

屬性值

類型:Microsoft.TeamFoundation.Build.Server.DeploymentEnvironmentMetadata
傳回 DeploymentEnvironmentMetadata

.NET Framework 安全性

請參閱

參考

DeploymentEnvironmentCreationData 類別

Microsoft.TeamFoundation.Build.Server 命名空間