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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property AutoStartCreate As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowAssociation
Dim value As Boolean

value = instance.AutoStartCreate

instance.AutoStartCreate = value
[RemoteAttribute]
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 BaseTempate’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