다음을 통해 공유


SPWorkflowTemplate.CompressInstanceData Property

Gets or sets a value that indicates whether the instance data for the template 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 Property CompressInstanceData As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As Boolean

value = instance.CompressInstanceData

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

Property Value

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

Remarks

The default value is true.

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation