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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
hostId
Type: System.GuidThe host that should be deleted.
Implements
ITeamFoundationHostManagementService.DeleteServiceHost(TeamFoundationRequestContext, Guid)
.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.