Partager via


TeamFoundationHostManagementService.QueryServiceHostProperties Method (TeamFoundationRequestContext, Guid)

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
Public Function QueryServiceHostProperties ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid _
) As TeamFoundationServiceHostProperties
public TeamFoundationServiceHostProperties QueryServiceHostProperties(
    TeamFoundationRequestContext requestContext,
    Guid hostId
)
public:
virtual TeamFoundationServiceHostProperties^ QueryServiceHostProperties(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId
) sealed
abstract QueryServiceHostProperties : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> TeamFoundationServiceHostProperties  
override QueryServiceHostProperties : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> TeamFoundationServiceHostProperties
public final function QueryServiceHostProperties(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid
) : TeamFoundationServiceHostProperties

Parameters

  • 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.

Implements

ITeamFoundationHostManagementService.QueryServiceHostProperties(TeamFoundationRequestContext, Guid)

.NET Framework Security

See Also

Reference

TeamFoundationHostManagementService Class

QueryServiceHostProperties Overload

Microsoft.TeamFoundation.Framework.Server Namespace