Share via


FormsService.MaxDataConnectionResponseSize property

Gets or sets the maximum size allowed for a data connection response.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property MaxDataConnectionResponseSize As Integer
    Get
    Set
'Usage
Dim instance As FormsService
Dim value As Integer

value = instance.MaxDataConnectionResponseSize

instance.MaxDataConnectionResponseSize = value
public int MaxDataConnectionResponseSize { get; set; }

Property value

Type: System.Int32

Remarks

The default size of the MaxDataConnectionResponseSize is 1500 kilobytes. This property corresponds to the Data Connection Response Size setting on the Configure InfoPath Forms Services page of the Central Administration site.

Note

Increasing the value of this property could adversely affect server performance and increase the chance of Denial of Service (DOS) attacks on the server.

See also

Reference

FormsService class

FormsService members

Microsoft.Office.InfoPath.Server.Administration namespace