SPWorkflow.IsLocked Property
true if the workflow instance is locked; false if it is not.
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 IsLocked As Boolean
Get
'Usage
Dim instance As SPWorkflow
Dim value As Boolean
value = instance.IsLocked
public bool IsLocked { get; }
Property Value
Type: System.Boolean
true if the workflow instance is locked; otherwise, false.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation