FormsService.ViewStateThreshold FormsService.ViewStateThreshold FormsService.ViewStateThreshold FormsService.ViewStateThreshold Property

Definition

Gets or sets the maximum size, in kilobytes, of the session state when stored in the form view.

public:
 property int ViewStateThreshold { int get(); void set(int value); };
public int ViewStateThreshold { get; set; }
member this.ViewStateThreshold : int with get, set
Public Property ViewStateThreshold As Integer

Property Value

Remarks

The default size of the ViewStateThreshold is 40 kilobytes. This property corresponds to the Form view (reduces database load on server). If form session state is larger than the specified value, the Session State Service will be used instead setting on the Configure InfoPath Forms Services page of the Central Administration site.

Applies to