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.
Queries for service host properties using the provided host ID. If children are included the output list will contain properties for all child hosts of the requested service host.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function QueryServiceHostProperties ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid, _
    filterFlags As ServiceHostFilterFlags _
) As TeamFoundationServiceHostProperties
TeamFoundationServiceHostProperties QueryServiceHostProperties(
    TeamFoundationRequestContext requestContext,
    Guid hostId,
    ServiceHostFilterFlags filterFlags
)
TeamFoundationServiceHostProperties^ QueryServiceHostProperties(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId, 
    ServiceHostFilterFlags filterFlags
)
abstract QueryServiceHostProperties : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid * 
        filterFlags:ServiceHostFilterFlags -> TeamFoundationServiceHostProperties
function QueryServiceHostProperties(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid, 
    filterFlags : ServiceHostFilterFlags
) : TeamFoundationServiceHostProperties
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context 
- hostId 
 Type: System.Guid- The ID of the desired service host 
- filterFlags 
 Type: Microsoft.TeamFoundation.Framework.Server.ServiceHostFilterFlags- See ServiceHostFilterFlags for the set of valid flags to use 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHostProperties
Host properties for the requested service host
.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.
See Also
Reference
ITeamFoundationHostManagementService Interface