17-10-12, 05:00 PM
كاتب الموضوع : AhmedEssawy
للبدء :كود :
Dim controller As New ServiceController("IISAdmiin")
controller.Start()
كود :
Dim controller As New ServiceController("IISAdmin")
controller.Pause()
كود :
Dim controller As ServiceController
controller = New ServiceController("IISAdmin")
If controller.Status = ServiceControllerStatus.Paused Then
controller.Continue()
End If
كود :
Dim controller As New ServiceController("IISAdmin")
controller.Stop()
كود :
Dim services() As ServiceController
services = ServiceController.GetServices()