Поделиться через


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)

Syntax

'Declaration
Public Function QueryDeploymentsByUri ( _
    deploymentUris As Uri() _
) As BuildDeployment()
public BuildDeployment[] QueryDeploymentsByUri(
    Uri[] deploymentUris
)
public:
array<BuildDeployment^>^ QueryDeploymentsByUri(
    array<Uri^>^ deploymentUris
)
member QueryDeploymentsByUri : 
        deploymentUris:Uri[] -> BuildDeployment[] 
public function QueryDeploymentsByUri(
    deploymentUris : Uri[]
) : BuildDeployment[]

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.

.NET Framework Security

See Also

Reference

DeploymentService Class

Microsoft.TeamFoundation.Build.Client Namespace