WorkflowAssociation.AutoStartChange 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 AutoStartChange As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowAssociation
Dim value As Boolean

value = instance.AutoStartChange

instance.AutoStartChange = value
public bool AutoStartChange { 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 BaseTempate’s AutoStartChange 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