共用方式為


SPWorkflowAssociation.CompressInstanceData Property

Gets or sets a value that specifies whether the instance data for the association is compressed when it is stored in the database.

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

Syntax

'Declaration
Public ReadOnly Property CompressInstanceData As Boolean
    Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.CompressInstanceData
public bool CompressInstanceData { get; }

Property Value

Type: System.Boolean
true if the instance data is to be compressed; otherwise, false.

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