共用方式為


SPAction.ShouldRun Property

Gets a Boolean value that indicates whether the upgrade action should run.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ShouldRun As Boolean
    Get
'Usage
Dim instance As SPAction
Dim value As Boolean

value = instance.ShouldRun
public virtual bool ShouldRun { get; }

Property Value

Type: System.Boolean
true if the upgrade action should run; otherwise, false.

See Also

Reference

SPAction Class

SPAction Members

Microsoft.SharePoint.Upgrade Namespace