共用方式為


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