共用方式為


FormTemplate Class

Represents an administrator approved, browser-enabled form template that is available on the server farm.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.Office.InfoPath.Server.Administration.FormTemplate

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
<GuidAttribute("543DD7B9-6E48-438d-86D8-200000000000")> _
Public NotInheritable Class FormTemplate _
    Inherits SPPersistedObject _
    Implements IBackupRestoreConfiguration, IBackupRestore
'Usage
Dim instance As FormTemplate
[GuidAttribute("543DD7B9-6E48-438d-86D8-200000000000")]
public sealed class FormTemplate : SPPersistedObject, 
    IBackupRestoreConfiguration, IBackupRestore

Remarks

All administrator approved, browser-enabled form templates on the server are accessible by using the FormTemplateCollection collection. The collection of form templates are also listed on the Manage form templates page of the Central Administration site. User-deployed form templates, typically deployed to a site collection, are not available by using the FormTemplateCollection collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormTemplate Members

Microsoft.Office.InfoPath.Server.Administration Namespace