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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Provision ( _
start As Boolean _
)
'Usage
Dim instance As SPWindowsServiceInstance
Dim start As Boolean
instance.Provision(start)
public void Provision(
bool start
)
Parameters
start
Type: System.Booleantrue specifies that the service should be started; otherwise, false.
See Also
Reference
SPWindowsServiceInstance Class