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)
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
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