WorkflowAssociation.AutoStartCreate - Propriété
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.
Espace de noms : Microsoft.SharePoint.Client.Workflow
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property AutoStartCreate As Boolean
Get
Set
'Utilisation
Dim instance As WorkflowAssociation
Dim value As Boolean
value = instance.AutoStartCreate
instance.AutoStartCreate = value
public bool AutoStartCreate { get; set; }
Valeur de propriété
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.
Remarques
If this workflow association’s BaseTemplate’s AutoStartCreate property is set to false, setting this property will result in no change to its value.