共用方式為


SPServiceInstance.ProvisionUpdateStatus Property

Gets a Boolean value that indicates whether the object status is set to Online when the Provision method is called.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

Type: System.Boolean
true if the status is set to Online; otherwise, false.

Remarks

The ProvisionUpdateStatus property usually returns false for a Windows service if the service must be configured through COM interfaces after credentials are set.

See Also

Reference

SPServiceInstance Class

SPServiceInstance Members

Microsoft.SharePoint.Administration Namespace