Share via


SPWindowsServiceInstance.ProvisionAutoStart property

Gets a Boolean value that indicates whether the Windows service is set to start automatically when it is enabled during provisioning.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property ProvisionAutoStart As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.ProvisionAutoStart
protected virtual bool ProvisionAutoStart { get; }

Property value

Type: System.Boolean
true if the Windows service is set to start automatically; otherwise, false.

See also

Reference

SPWindowsServiceInstance class

SPWindowsServiceInstance members

Microsoft.SharePoint.Administration namespace