Compartilhar via


FormsService.MaxFormLoadTime Property

Gets or sets the maximum amount of time allowed for a form to load on the server.

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

Syntax

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

value = instance.MaxFormLoadTime

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

Property Value

Type: System.Int64
The maximum amount of time allowed for a form to load on the server.

Remarks

The value set for the MaxFormLoadTime property does not include the time required to render the form in the browser. If the time it takes to load a form on the server exceeds the MaxFormLoadTime 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 MaxFormLoadTime property only by using code or the corresponding PowerShell cmdlet.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace