Share via


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)

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 Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview