Delen via


DeploymentService.QueryDeployments Method

Query the list of deployments

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

Syntax

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

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.BuildDeployment[]
An array of BuildDeployment[], each that contain basic information about the deployment build and the source build.

.NET Framework Security

See Also

Reference

DeploymentService Class

Microsoft.TeamFoundation.Build.Client Namespace