The IFileVersionController type exposes the following members.

Methods

  NameDescription
Public methodAddFileVersion
Add a new version of the file
Public methodDeleteAllUnpublishedVersions
Deletes all the unpublished versions of a file
Public methodDeleteFileVersion
Deletes a version of a file. If the version to delete is the published version, the previous version gets published
Public methodGetFileVersion
Gets the physical file with a specific version of a file
Public methodGetFileVersions
Returns all the versions of a file
Public methodGetFileVersionsInFolder
Get all the non-published versions in a Folder
Public methodGetVersionContent
Get the content of a specific version file
Public methodIsFileVersionEnabled
This method returns true if FileVersion is enabled in the portal, false otherwise
Public methodIsFolderVersioned(Int32)
This method returns true if FileVersion is enabled in the Folder, false otherwise
Public methodIsFolderVersioned(IFolderInfo)
This method returns true if FileVersion is enabled in the Folder, false otherwise
Public methodMaxFileVersions
This method returns the max number of versions for a portal
Public methodRollbackFileVersion
Rollbacks a file to the specified version
Public methodSetPublishedVersion
Changes the published version of a file

See Also