Share via


SPUserCodeWorkflowContext.AutoStartChange property

Gets or sets a value that indicates whether the workflow is started when an item is changed.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AutoStartChange As Boolean
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Boolean

value = instance.AutoStartChange

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

Property value

Type: System.Boolean
true if the workflow is started when an item is changed; otherwise, false.

See also

Reference

SPUserCodeWorkflowContext class

SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace