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)

public enum UpgradeType

Member nameDescription
GradualThe form template is upgraded, but active sessions with the previous version of the form template are allowed to complete.
OverwriteThe 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.
OverwriteNoVersionCheckThe form template is upgraded without checking the version of the current form template.

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.

Show: