다음을 통해 공유


BuildDeploymentWebService.QueryDeploymentsByUri Method

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

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryDeploymentsByUri ( _
    deploymentUris As String() _
) As List(Of BuildDeployment)
[WebMethodAttribute]
public List<BuildDeployment> QueryDeploymentsByUri(
    string[] deploymentUris
)
[WebMethodAttribute]
public:
List<BuildDeployment^>^ QueryDeploymentsByUri(
    array<String^>^ deploymentUris
)
[<WebMethodAttribute>]
member QueryDeploymentsByUri : 
        deploymentUris:string[] -> List<BuildDeployment> 
public function QueryDeploymentsByUri(
    deploymentUris : String[]
) : List<BuildDeployment>

Parameters

  • deploymentUris
    Type: array<System.String[]

    An array of deployment URIs to query

Return Value

Type: System.Collections.Generic.List<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

BuildDeploymentWebService Class

Microsoft.TeamFoundation.Build.Server Namespace