共用方式為


FormTemplate Members

Include Protected Members
Include Inherited Members

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

The FormTemplate type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Category Gets or sets the category of the form template.
Public property CreatedTimeUtc Gets the time, in Universal Time Coordinated (UTC), that the form template was created.
Public property DataConnectionFileReferences Gets a collection of Universal Data Connection (UDC) files that are referenced in the form template.
Public property Description Gets the description of the form template.
Public property DisplayName Gets the name of the form template displayed on the Manage form templates page of the Central Administration site. (Overrides SPPersistedObject.DisplayName.)
Public property Farm (Inherited from SPPersistedObject.)
Public property FeatureId Gets the SharePoint feature identification (ID), if applicable, associated with the form template.
Public property FormFolderPath Gets the path of the folder that contains the form template represented by the FormTemplate object.
Public property FormId Gets the form template identification (ID) value.
Public property FormTemplateStatus Gets the current state of the form template.
Public property FullTrust Gets a value indicating whether the form template security level is Full Trust.
Public property Id (Inherited from SPPersistedObject.)
Public property Locale Gets the locale of the form template.
Public property ModifiedTimeUtc Gets the time, in Universal Time Coordinated (UTC), that the form template was last modified.
Public property Name (Inherited from SPPersistedObject.)
Public property Parent (Inherited from SPPersistedObject.)
Public property Properties (Inherited from SPPersistedObject.)
Public property QuiesceStatus Gets the status of a form template's quiesce state.
Public property Signed Gets a value indicating whether the form template is digitally signed.
Public property SolutionId Gets the solution identification (ID) of the form template.
Public property Status (Inherited from SPPersistedObject.)
Public property TypeName (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property UserWorkflowEnabled Gets a value that indicates whether the form template represented by the FormTemplate object is enabled as a declarative rules-based form that is part of a SharePoint workflow process.
Public property Version (Inherited from SPPersistedObject.)
Protected property WasCreated (Inherited from SPPersistedObject.)
Public property WorkflowEnabled Gets a boolean value indicating whether the form template can be used in a SharePoint workflow process.

Top

Methods

  Name Description
Public method Activate Activates a form template to a SharePoint site collection.
Public method Clone (Inherited from SPPersistedObject.)
Public method Deactivate Deactivates a form template from a SharePoint site collection.
Public method Delete (Inherited from SPPersistedObject.)
Public method Equals (Inherited from SPPersistedObject.)
Protected method Finalize (Inherited from Object.)
Public method GetAbsoluteUrl Gets the full URL of a form template on a SharePoint site.
Public method GetChild<T>() (Inherited from SPPersistedObject.)
Public method GetChild<T>(String) (Inherited from SPPersistedObject.)
Public method GetHashCode (Inherited from SPPersistedObject.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method HasAdditionalUpdateAccess (Inherited from SPPersistedObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPPersistedObject.)
Public method Provision (Inherited from SPPersistedObject.)
Public method Quiesce Quiesces, or takes offline, the form template.
Public method QuiesceEndTime Provides the time when the FormTemplate.FormTemplateState changes from Quiescing to Quiesced.
Public method ToString (Inherited from SPPersistedObject.)
Public method Uncache (Inherited from SPPersistedObject.)
Public method Unprovision (Inherited from SPPersistedObject.)
Public method Unquiesce Brings a form template back online so new forms can be created based on the form template that was previously quiesced.
Public method Update() Override provided for the Update method of the SPPersistedObject object. (Overrides SPPersistedObject.Update().)
Public method Update(Boolean) (Inherited from SPPersistedObject.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)
Protected method Validate (Inherited from SPPersistedObject.)

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.

Top

See Also

Reference

FormTemplate Class

Microsoft.Office.InfoPath.Server.Administration Namespace