This documentation is archived and is not being maintained.

DeploymentService::QueryDeploymentsByUri Method

Gets a list of deployments that match the passed in deployment URIs.

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

public:
array<BuildDeployment^>^ QueryDeploymentsByUri(
	array<Uri^>^ deploymentUris
)

Parameters

deploymentUris
Type: array<System::Uri>

An array of deployment URIs to query

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client::BuildDeployment>
An array of BuildDeployment[] that is the same length as the passed in deploymentUris array. If an associated deployment could not be found a null will be in the returned array.

Show: