共用方式為


SPWorkflowAssociation.AssociationData Property

Gets or sets the association data for workflow instances based on this workflow association.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property AssociationData As String
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As String

value = instance.AssociationData

instance.AssociationData = value
[ClientCallableAttribute]
public string AssociationData { get; set; }

Property Value

Type: System.String
A String representing the association data.

Remarks

Association data is any custom data to pass to the workflow association form. It is recommended but not required that the data be valid XML. The association form that you specify for the workflow must be able to parse the data.

For more information, see Workflow Association and Initiation Forms (Sharepoint Foundation).

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation