SPWindowsServiceInstance.Provision method (Boolean)
Provisions the Windows service on the local computer and optionally starts the service.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Sub Provision ( _
start As Boolean _
)
'Usage
Dim instance As SPWindowsServiceInstance
Dim start As Boolean
instance.Provision(start)
public void Provision(
bool start
)
start
Type: System.Booleantrue specifies that the service should be started; otherwise, false.
SPWindowsServiceInstance class