Deletes the service host and all associated services from the server.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Sub DeleteBuildServiceHost ( _
    serviceHostUri As Uri _
)
void DeleteBuildServiceHost(
    Uri serviceHostUri
)
void DeleteBuildServiceHost(
    Uri^ serviceHostUri
)
abstract DeleteBuildServiceHost : 
        serviceHostUri:Uri -> unit 
function DeleteBuildServiceHost(
    serviceHostUri : Uri
)
Parameters
- serviceHostUri
 Type: System.Uri
 The URI of the service host to delete.
.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.