Partager via


TeamFoundationDeploymentService.QueryDeployments Method

Query the list of deployments

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

Syntax

'Declaration
Public Function QueryDeployments ( _
    requestContext As TeamFoundationRequestContext, _
    spec As BuildDeploymentSpec _
) As List(Of BuildDeployment)
public List<BuildDeployment> QueryDeployments(
    TeamFoundationRequestContext requestContext,
    BuildDeploymentSpec spec
)
public:
List<BuildDeployment^>^ QueryDeployments(
    TeamFoundationRequestContext^ requestContext, 
    BuildDeploymentSpec^ spec
)
member QueryDeployments : 
        requestContext:TeamFoundationRequestContext * 
        spec:BuildDeploymentSpec -> List<BuildDeployment> 
public function QueryDeployments(
    requestContext : TeamFoundationRequestContext, 
    spec : BuildDeploymentSpec
) : List<BuildDeployment>

Parameters

Return Value

Type: System.Collections.Generic.List<BuildDeployment>
An array of BuildDeployment[], each contains basic information about the deployment build and the source build.

.NET Framework Security

See Also

Reference

TeamFoundationDeploymentService Class

Microsoft.TeamFoundation.Build.Server Namespace