ITeamFoundationHostManagementService.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
Sub DeleteServiceHost ( _
requestContext As TeamFoundationRequestContext, _
hostId As Guid _
)
void DeleteServiceHost(
TeamFoundationRequestContext requestContext,
Guid hostId
)
void DeleteServiceHost(
TeamFoundationRequestContext^ requestContext,
Guid hostId
)
abstract DeleteServiceHost :
requestContext:TeamFoundationRequestContext *
hostId:Guid -> unit
function DeleteServiceHost(
requestContext : TeamFoundationRequestContext,
hostId : Guid
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
hostId
Type: System.GuidThe host which should be deleted
.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.