WorkflowDefinition.RequiresAssociationForm property
Gets or sets a Boolean value indicating whether an association form should be automatically generated for the workflow.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallablePropertyAttribute> _
Public Property RequiresAssociationForm As Boolean
Get
Set
'Usage
Dim instance As WorkflowDefinition
Dim value As Boolean
value = instance.RequiresAssociationForm
instance.RequiresAssociationForm = value
[ClientCallablePropertyAttribute]
public bool RequiresAssociationForm { get; set; }
Property value
Type: System.Boolean
Returns true if an association form is required. Otherwise returns false. The default is false.
Remarks
If set to true, and the AssociationUrl property value is not already set, a default association form is automatically generated for the workflow when SaveDefinition(WorkflowDefinition) is called.