Share via


FormTemplateCollection.UpgradeType Enumeration

Specifies the kind of upgrade performed to the form template.

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

Syntax

'Declaration
Public Enumeration UpgradeType
'Usage
Dim instance As FormTemplateCollection.UpgradeType
public enum UpgradeType

Members

Member name Description
Gradual The form template is upgraded, but active sessions with the previous version of the form template are allowed to complete.
Overwrite The form template is upgraded and active sessions are terminated. This mode should be used only when there is a problem with the previous version and it needs to be taken offline immediately. Requires an IIS reset.
OverwriteNoVersionCheck The form template is upgraded without checking the version of the current form template.

Remarks

The upgrade will fail if the new form template has a version number less than or equal to the existing form template, or a blank version number. It will also fail if the new form template has a different filename.

See Also

Reference

Microsoft.Office.InfoPath.Server.Administration Namespace