Compartilhar via


FormsService.MaxDataConnectionTimeout Property

Gets or sets the maximum data connection timeout in milliseconds.

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

Syntax

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

value = instance.MaxDataConnectionTimeout

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

Property Value

Type: System.Int32

Remarks

The default value for the MaxDataConnectionTimeout is 20000 milliseconds (20 seconds). This setting overrides settings on data connections in individual form templates if they exceed the value for this property. This property corresponds to the Maximum data connection timeout 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