SPWindowsServiceInstance.Provision method (Boolean)
佈建本機電腦上的 Windows 服務,並選擇性地啟動服務。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Provision ( _
start As Boolean _
)
'用途
Dim instance As SPWindowsServiceInstance
Dim start As Boolean
instance.Provision(start)
public void Provision(
bool start
)
參數
start
Type: System.Booleantrue指定的啟動服務 ;否則,請false。
請參閱
參照
SPWindowsServiceInstance class