다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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 SharePoint Designer.

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation