SPWindowsServiceInstance.Stop Method
Stops the Windows service on the local computer.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Stop
'Usage
Dim instance As SPWindowsServiceInstance
instance.Stop()
public void Stop()
See Also
Reference
SPWindowsServiceInstance Class