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

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