Share via


SPWorkflowAssociation.AutoStartCreate Property

True to have workflow instances based on this workflow associate 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
<ClientCallableAttribute> _
Public Property AutoStartCreate As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.AutoStartCreate

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

Property Value

Type: System.Boolean
A Boolean that represents whether the workflow starts automatically when a new item is created.

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