Queries for service host properties using the provided host ID. This will not return any details about this host, and it will not include any children.
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 _
) As TeamFoundationServiceHostProperties
TeamFoundationServiceHostProperties QueryServiceHostProperties(
    TeamFoundationRequestContext requestContext,
    Guid hostId
)
TeamFoundationServiceHostProperties^ QueryServiceHostProperties(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId
)
abstract QueryServiceHostProperties : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> TeamFoundationServiceHostProperties
function QueryServiceHostProperties(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid
) : TeamFoundationServiceHostProperties
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context 
- hostId 
 Type: System.Guid- The ID of the desired service host 
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