다음을 통해 공유


BuildDeploymentWebService.QueryDeploymentEnvironments Method

Gets a list of all deployment environment metadata associated with this project

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

Syntax

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

Parameters

  • teamProject
    Type: System.String

    Name of project associated with these deployment enviornments.

Return Value

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

.NET Framework Security

See Also

Reference

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace