Share via


WorkflowAssociation.AutoStartCreate property

Gets or sets a value that specifies whether workflow instances will be created from this workflow association and started automatically when a list item is changed.

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

Syntax

'Declaration
Public Property AutoStartCreate As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowAssociation
Dim value As Boolean

value = instance.AutoStartCreate

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

Property value

Type: System.Boolean
Returns Booleantrue if the workflow instance based on this workflow can be started automatically when a list item is changed; otherwise, returns false. The default value is.

Remarks

If this workflow association’s BaseTemplate’s AutoStartCreate property is set to false, setting this property will result in no change to its value.

See also

Reference

WorkflowAssociation class

WorkflowAssociation members

Microsoft.SharePoint.Client.Workflow namespace