This documentation is archived and is not being maintained.

DeploymentService::QueryDeployments Method

Query the list of deployments

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

public:
array<BuildDeployment^>^ QueryDeployments(
	BuildDeploymentSpec^ spec
)

Parameters

spec
Type: Microsoft.TeamFoundation.Build.Client::BuildDeploymentSpec

The parameters to query on.

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.

Show: