Partilhar via


IAdministrationService.QueryActiveRequests Method (IEnumerable<Guid>, Boolean)

Queries for active requests on all specified hosts.

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

Syntax

'Declaração
Function QueryActiveRequests ( _
    hostIds As IEnumerable(Of Guid), _
    includeDetails As Boolean _
) As ReadOnlyCollection(Of TeamFoundationServiceHostActivity)
ReadOnlyCollection<TeamFoundationServiceHostActivity> QueryActiveRequests(
    IEnumerable<Guid> hostIds,
    bool includeDetails
)
ReadOnlyCollection<TeamFoundationServiceHostActivity^>^ QueryActiveRequests(
    IEnumerable<Guid>^ hostIds, 
    bool includeDetails
)
abstract QueryActiveRequests : 
        hostIds:IEnumerable<Guid> * 
        includeDetails:bool -> ReadOnlyCollection<TeamFoundationServiceHostActivity> 
function QueryActiveRequests(
    hostIds : IEnumerable<Guid>, 
    includeDetails : boolean
) : ReadOnlyCollection<TeamFoundationServiceHostActivity>

Parameters

  • includeDetails
    Type: System.Boolean
    Indicates whether to include request details (for example, parameters).

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<TeamFoundationServiceHostActivity>
A collection of host properties that have active requests included.

Remarks

If a null or empty value is specified for the first parameter, requests for all hosts that are visible to the caller are returned. The return value is sorted in the same order as the input host IDs, where a null value indicates that the host could not be retrieved.

.NET Framework Security

See Also

Reference

IAdministrationService Interface

QueryActiveRequests Overload

Microsoft.TeamFoundation.Framework.Client Namespace