(PECL win32service >=0.1.0)
win32_stop_service — Stops a service
$servicename
[, string $machine
] ) : intStops a named service. Requires administrative privileges or an account with appropriate rights set in the service's ACL.
servicename
The short name of the service.
machine
Optional machine name. If omitted, the local machine is used.
锟缴癸拷时锟斤拷锟斤拷 WIN32_NO_ERROR
锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷一锟斤拷 Win32 锟斤拷锟斤拷锟斤拷锟斤拷
锟芥本 | 说锟斤拷 |
---|---|
0.3.0 | This function does not longer require an administrator account if ACL is set for another account. |