共用方式為


SPWorkflowAssociation.SiteWriteLocked Property

Gets a value that indicates whether the SPSite on which the workflow association resides does not allow updates.

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 SiteWriteLocked As Boolean
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the SPSite on which the workflow association resides does not allow updates; 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