Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Query the list of deployments
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function QueryDeployments ( _
requestContext As TeamFoundationRequestContext, _
spec As BuildDeploymentSpec _
) As List(Of BuildDeployment)
public List<BuildDeployment> QueryDeployments(
TeamFoundationRequestContext requestContext,
BuildDeploymentSpec spec
)
public:
List<BuildDeployment^>^ QueryDeployments(
TeamFoundationRequestContext^ requestContext,
BuildDeploymentSpec^ spec
)
member QueryDeployments :
requestContext:TeamFoundationRequestContext *
spec:BuildDeploymentSpec -> List<BuildDeployment>
public function QueryDeployments(
requestContext : TeamFoundationRequestContext,
spec : BuildDeploymentSpec
) : List<BuildDeployment>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
spec
Type: Microsoft.TeamFoundation.Build.Server.BuildDeploymentSpecThe parameters to query on.
Return Value
Type: System.Collections.Generic.List<BuildDeployment>
An array of BuildDeployment[], each contains basic information about the deployment build and the source build.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.