Delen via


TeamFoundationHostManagementService.DeleteServiceHost Method (TeamFoundationRequestContext, Guid)

Deletes a service host from the server.

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

Syntax

'Declaration
Public Sub DeleteServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid _
)
public void DeleteServiceHost(
    TeamFoundationRequestContext requestContext,
    Guid hostId
)
public:
virtual void DeleteServiceHost(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId
) sealed
abstract DeleteServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> unit  
override DeleteServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid -> unit
public final function DeleteServiceHost(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid
)

Parameters

  • hostId
    Type: System.Guid

    The host that should be deleted.

Implements

ITeamFoundationHostManagementService.DeleteServiceHost(TeamFoundationRequestContext, Guid)

.NET Framework Security

See Also

Reference

TeamFoundationHostManagementService Class

DeleteServiceHost Overload

Microsoft.TeamFoundation.Framework.Server Namespace