SPUserCodeWorkflowContext.AutoStartCreate property
Gets or sets a value that indicates whether the workflow is started when an item is created.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property AutoStartCreate As Boolean
Get
Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Boolean
value = instance.AutoStartCreate
instance.AutoStartCreate = value
public bool AutoStartCreate { get; set; }
Property value
Type: System.Boolean
true if the workflow is started when an item is created; otherwise, false.
See also
Reference
SPUserCodeWorkflowContext class