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.

See also

Reference

FormTemplateCollection class

FormTemplateCollection members

Microsoft.Office.InfoPath.Server.Administration namespace