共用方式為


DeploymentService.GetDeploymentEnvironment 方法

取得所有資料的特定部署環境

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

語法

'宣告
Public Function GetDeploymentEnvironment ( _
    name As String, _
    teamProject As String _
) As DeploymentEnvironment
public DeploymentEnvironment GetDeploymentEnvironment(
    string name,
    string teamProject
)

參數

傳回值

類型:Microsoft.TeamFoundation.Build.Client.DeploymentEnvironment

.NET Framework 安全性

請參閱

參考

DeploymentService 類別

Microsoft.TeamFoundation.Build.Client 命名空間