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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
serviceHostUri
Type: System.StringThe URI of the build service host to delete
- canDeleteElastic
Type: System.Boolean
.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.