Partager via


DeploymentService.QueryDeploymentEnvironments Method

List the deployment environments

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

Syntax

'Declaration
Public Function QueryDeploymentEnvironments ( _
    teamProject As String _
) As List(Of DeploymentEnvironmentMetadata)
public List<DeploymentEnvironmentMetadata> QueryDeploymentEnvironments(
    string teamProject
)
public:
List<DeploymentEnvironmentMetadata^>^ QueryDeploymentEnvironments(
    String^ teamProject
)
member QueryDeploymentEnvironments : 
        teamProject:string -> List<DeploymentEnvironmentMetadata> 
public function QueryDeploymentEnvironments(
    teamProject : String
) : List<DeploymentEnvironmentMetadata>

Parameters

Return Value

Type: System.Collections.Generic.List<DeploymentEnvironmentMetadata>

.NET Framework Security

See Also

Reference

DeploymentService Class

Microsoft.TeamFoundation.Build.Client Namespace