Compartilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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