Share via


FormsService.MaxDataConnectionRoundTrip Property

Gets or sets the maximum amount of time allowed for a data connection to retrieve data.

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

Syntax

'Declaration
Public Property MaxDataConnectionRoundTrip As Long
    Get
    Set
'Usage
Dim instance As FormsService
Dim value As Long

value = instance.MaxDataConnectionRoundTrip

instance.MaxDataConnectionRoundTrip = value
public long MaxDataConnectionRoundTrip { get; set; }

Property Value

Type: System.Int64
The maximum amount of time allowed for a data connection to retrieve data.

Remarks

If the time it takes for a data connection to retrieve data exceeds the MaxDataConnectionRoundTrip property setting, a Unified Logging Service (ULS) entry is created. This setting is not available on the Configure InfoPath Forms Services page of the Central Administration site. You can set the value of the MaxDataConnectionRoundTrip property only by using code or the corresponding PowerShell cmdlet.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace