FormTemplateCollection.UpgradeType Enumeration

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.

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.

Community Additions