FormTemplateCollection.RemoveFormTemplate Method
Removes an Administrator-approved form template from the server farm.
Namespace: Microsoft.Office.InfoPath.Server.Administration
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Sub RemoveFormTemplate ( _
formTemplate As FormTemplate _
)
'Usage
Dim instance As FormTemplateCollection
Dim formTemplate As FormTemplate
instance.RemoveFormTemplate(formTemplate)
public void RemoveFormTemplate(
FormTemplate formTemplate
)
Parameters
- formTemplate
Type: Microsoft.Office.InfoPath.Server.Administration.FormTemplate
The Uniform Resource Name (URN) or Id of the form template to be removed.