Partilhar via


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

Syntax

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

value = instance.AutoStartChange

instance.AutoStartChange = value
[RemoteAttribute]
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