Share via


SPWorkflowAssociation.LockItem Property

Gets or sets a value that makes an association read-only.

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

Syntax

'Declaration
Public Property LockItem As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.LockItem

instance.LockItem = value
public bool LockItem { get; set; }

Property Value

Type: System.Boolean
true if the association is read-only; 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