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
- teamProject
Type: System.String
Return Value
Type: System.Collections.Generic.List<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.