共用方式為


SPWorkflowAssociation.GloballyEnabled Property

Gets a value that determines whether the workflow association can be run.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property GloballyEnabled As Boolean
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.GloballyEnabled
public bool GloballyEnabled { get; }

Property Value

Type: System.Boolean
true if the workflow association can be run; otherwise, false.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation