Share via


BuildDeploymentWebService.QueryDeployments Method

Gets a list of deployments meeting the parameters set in the spec.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryDeployments ( _
    spec As BuildDeploymentSpec _
) As List(Of BuildDeployment)
[WebMethodAttribute]
public List<BuildDeployment> QueryDeployments(
    BuildDeploymentSpec spec
)
[WebMethodAttribute]
public:
List<BuildDeployment^>^ QueryDeployments(
    BuildDeploymentSpec^ spec
)
[<WebMethodAttribute>]
member QueryDeployments : 
        spec:BuildDeploymentSpec -> List<BuildDeployment> 
public function QueryDeployments(
    spec : BuildDeploymentSpec
) : List<BuildDeployment>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace