# Service_Delete

> Deletes specified service.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/service-functions/service-delete/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Deletes specified service

### Syntax

Service_Delete(sServiceName) As Boolean

### Parameters

#### sServiceName (String)

Name of service

### Example

**VBScript**

```vb
If bStatus Then bStatus = Service_Delete("Service")
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Service_Exist](/capainstaller/vb-scripting-library/service-functions/service-exist/) [Service_Stop](/capainstaller/vb-scripting-library/service-functions/service-stop/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
