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)

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

SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview