SPWorkflowTemplate.IsDeclarative property

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

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property IsDeclarative As Boolean
    Get
'Usage
Dim instance As SPWorkflowTemplate
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 Office SharePoint Designer.

See also

Reference

SPWorkflowTemplate class

SPWorkflowTemplate 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