共用方式為


DeploymentEnvironmentMetadata.TeamProject 屬性

專案的名稱與這個部署。

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

語法

'宣告
<ClientPropertyAttribute(ClientVisibility.Public)> _
Public Property TeamProject As String
[ClientPropertyAttribute(ClientVisibility.Public)]
public string TeamProject { get; set; }

屬性值

型別:System.String

.NET Framework 安全性

請參閱

參考

DeploymentEnvironmentMetadata 類別

Microsoft.TeamFoundation.Build.Server 命名空間