SPWorkflowAssociation.IsDeclarative Property

Returns True if the workflow association is a declarative, files-based workflow, False if the workflow association is a compiled workflow assembly.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property IsDeclarative As Boolean
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.IsDeclarative
[ClientCallableAttribute]
public bool IsDeclarative { get; }

Property Value

Type: System.Boolean
A Boolean that represents whether the workflow is declarative.

Remarks

For more information about declarative workflows, see Workflow Development in SharePoint Designer.

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