TeamFoundationBuildResourceService.DeleteBuildServiceHost Method

Deletes a build service host from the server.

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

Syntax

'Declaration
Public Sub DeleteBuildServiceHost ( _
    requestContext As TeamFoundationRequestContext, _
    serviceHostUri As String, _
    canDeleteElastic As Boolean _
)
public void DeleteBuildServiceHost(
    TeamFoundationRequestContext requestContext,
    string serviceHostUri,
    bool canDeleteElastic
)
public:
void DeleteBuildServiceHost(
    TeamFoundationRequestContext^ requestContext, 
    String^ serviceHostUri, 
    bool canDeleteElastic
)
member DeleteBuildServiceHost : 
        requestContext:TeamFoundationRequestContext * 
        serviceHostUri:string * 
        canDeleteElastic:bool -> unit
public function DeleteBuildServiceHost(
    requestContext : TeamFoundationRequestContext, 
    serviceHostUri : String, 
    canDeleteElastic : boolean
)

Parameters

  • serviceHostUri
    Type: System.String

    The URI of the build service host to delete

.NET Framework Security

See Also

Reference

TeamFoundationBuildResourceService Class

Microsoft.TeamFoundation.Build.Server Namespace