SPWindowsServiceInstance.Stop method
會停止本機電腦上的 Windows 服務。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Stop
'用途
Dim instance As SPWindowsServiceInstance
instance.Stop()
public void Stop()
請參閱
參照
SPWindowsServiceInstance class