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)
Available in Sandboxed Solutions: No


Protected Overridable ReadOnly Property ProvisionAutoStart As Boolean
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


SPWindowsServiceInstance Class

SPWindowsServiceInstance Members

Microsoft.SharePoint.Administration Namespace