win32_delete_service()
win32_delete_service - Deletes a service entry from the SCM database
Syntax
int win32_delete_service (
string $servicename,
string $machine)
Arguments
- servicename - The short name of the service.
- machine - The optional machine name. If omitted, the local machine will be used.
Description
Attempts to delete a service from the SCM database. Administrative privileges are required for this to succeed.
Version
PHP PECL win32service SVN
Return value
Returns TRUE on success, or a win32 error code on failure.