共用方式為


FormTemplateCollection Members

Include Protected Members
Include Inherited Members

Represents all Administrator-approved form templates on the server farm.

The FormTemplateCollection type exposes the following members.

Constructors

  Name Description
Public method FormTemplateCollection Obsolete. Initializes a new instance of the FormTemplateCollection class.

Top

Properties

  Name Description
Public property Count (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public property IsEmpty (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public property Item[Guid] (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public property Item[String] (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Protected property Parent (Inherited from SPPersistedObjectCollection<FormTemplate>.)

Top

Methods

  Name Description
Public method Add (Inherited from SPPersistedChildCollection<FormTemplate>.)
Public method Ensure (Inherited from SPPersistedChildCollection<FormTemplate>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public method GetValue<U>(String) (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public method GetValue<U>(Guid) (Inherited from SPPersistedObjectCollection<FormTemplate>.)
Public method Item(Guid) Gets a reference to a form template in the FormTemplateCollection collection using a GUID.
Public method Item(FileInfo) Gets a FormTemplate object in the FormTemplateCollection collection.
Public method Item(String) Gets a FormTemplate object in the FormTemplateCollection collection using the form template name.
Public method ItemFromFile Gets a FormTemplate object in the FormTemplateCollection collection using the file path.
Protected method MemberwiseClone (Inherited from Object.)
Public method ReconvertAll Reconverts existing form templates deployed in the collection.
Public methodStatic member RegisterFormTemplate(String, SPFeatureDefinition) Registers a form template on a server farm.
Public methodStatic member RegisterFormTemplate(String, SPFeatureDefinition, Boolean) Registers a form template on the server farm.
Public methodStatic member RegisterFormTemplate(String, String, SPFeatureDefinition, Boolean) Registers a form template on the server farm.
Public method Remove (Inherited from SPPersistedChildCollection<FormTemplate>.)
Public method RemoveFormTemplate Removes an Administrator-approved form template from the server farm.
Public method ToString (Inherited from Object.)
Public method UnregisterFormTemplate Removes a registered form template from the server farm.
Public method UpgradeFormTemplate Upgrades a form template that may have current open sessions.
Public method UploadFormTemplate Uploads an InfoPath form template to a server farm.
Public methodStatic member VerifyFormTemplate Verifies that the form template can be browser-enabled.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IBackupRestore.AddBackupObjects Adds the IBackupRestore object and its child IBackupRestore objects to the specified backup object.
Explicit interface implemetationPrivate property IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration Gets a value that indicates whether the component can be included in a configuration-only backup or restore.
Explicit interface implemetationPrivate property IBackupRestore.CanRenameOnRestore Gets a value that indicates whether the IBackupRestore object can be renamed when it is restored.
Explicit interface implemetationPrivate property IBackupRestore.CanSelectForBackup Gets or sets a value that indicates whether the content component that is represented by the IBackupRestore object can be selected for backup, independently of its parent component, in the Central Administration user interface or some other UI.
Explicit interface implemetationPrivate property IBackupRestore.CanSelectForRestore Gets or sets a value that indicates whether the content component that is represented by the IBackupRestore object can be selected for restoration in the Central Administration user interface or some other UI.
Explicit interface implemetationPrivate property IBackupRestore.DiskSizeRequired Gets the amount of disk space, in bytes, that is required to store a backup of the content represented by the IBackupRestore object.
Explicit interface implemetationPrivate property IBackupRestore.Id Gets or sets an ID for the content component.
Explicit interface implemetationPrivate property IBackupRestore.Name Gets or sets a name, for use in a UI, for the content component.
Explicit interface implemetationPrivate method IBackupRestore.OnAbort Assists in a graceful termination when a user cancels a backup or restore operation.
Explicit interface implemetationPrivate method IBackupRestore.OnBackup Creates and stores the backup copy of the content component.
Explicit interface implemetationPrivate method IBackupRestore.OnBackupComplete Provides post backup processing.
Explicit interface implemetationPrivate method IBackupRestore.OnPostRestore Provides post restore processing.
Explicit interface implemetationPrivate method IBackupRestore.OnPrepareBackup Creates and stores the backup copy of the content component.
Explicit interface implemetationPrivate method IBackupRestore.OnPreRestore Provides restore preparation processing.
Explicit interface implemetationPrivate method IBackupRestore.OnRestore Reads the backed up content and copies it to the target destination of the restore operation.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from SPPersistedObjectCollection<FormTemplate>.)

Top

See Also

Reference

FormTemplateCollection Class

Microsoft.Office.InfoPath.Server.Administration Namespace