SPWindowsServiceInstance.Stop method
Stops the Windows service on the local computer.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Stop
'Usage
Dim instance As SPWindowsServiceInstance
instance.Stop()
public void Stop()
See also
Reference
SPWindowsServiceInstance class