FormTemplate.Quiesce Method
Quiesces, or takes offline, the form template.
Namespace: Microsoft.Office.InfoPath.Server.Administration
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Sub Quiesce ( _
maxDuration As TimeSpan _
)
'Usage
Dim instance As FormTemplate
Dim maxDuration As TimeSpan
instance.Quiesce(maxDuration)
public void Quiesce(
TimeSpan maxDuration
)
Parameters
- maxDuration
Type: System.TimeSpan
A [TimeSpan] object representing the maximum time a form can remain available to existing sessions until it is fully quiesced, in minutes.
Remarks
Sessions that remain active beyond the maxDuration are invalidated, and forms based on the quiesced form template will return an error on their next postback to the server.