FormTemplateCollection.UpgradeFormTemplate Method
Upgrades a form template that may have current open sessions.
Namespace: Microsoft.Office.InfoPath.Server.Administration
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Sub UpgradeFormTemplate ( _
solutionPath As String, _
upgradeType As FormTemplateCollection.UpgradeType _
)
'Usage
Dim instance As FormTemplateCollection
Dim solutionPath As String
Dim upgradeType As FormTemplateCollection.UpgradeType
instance.UpgradeFormTemplate(solutionPath, _
upgradeType)
public void UpgradeFormTemplate(
string solutionPath,
FormTemplateCollection.UpgradeType upgradeType
)
Parameters
- solutionPath
Type: System.String
The path and file name of the form template to upgrade.
- upgradeType
Type: Microsoft.Office.InfoPath.Server.Administration.FormTemplateCollection.UpgradeType
The type of upgrade to perform. Values can be Gradual, if existing sessions should be allowed to continue until finished, or Overwrite to upgrade the form template immediately.