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.StringName of project associated with these deployment enviornments.
Return Value
Type: System.Collections.Generic.List<DeploymentEnvironmentMetadata>
List of DeploymentEnvironmentMetadata
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.