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
'Declaración
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
- hostIds
Type: System.Collections.Generic.IEnumerable<Guid>
The host IDs that should be queried.
- 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
- 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.