Share via


SPWorkflowTemplate.AutoStartCreate Property

True to have workflow instances based on this workflow template start automatically when an item is created.

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

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False)> _
Public Property AutoStartCreate As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As Boolean

value = instance.AutoStartCreate

instance.AutoStartCreate = value
[ClientCallablePropertyAttribute(SetProperty = false)]
public bool AutoStartCreate { get; set; }

Property Value

Type: System.Boolean
A Boolean that represents whether to have workflow instances based on this workflow template start automatically when an item is created.

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