The IFileVersionController type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddFileVersion |
Add a new version of the file
| |
| DeleteAllUnpublishedVersions |
Deletes all the unpublished versions of a file
| |
| DeleteFileVersion |
Deletes a version of a file.
If the version to delete is the published version, the previous version gets published
| |
| GetFileVersion |
Gets the physical file with a specific version of a file
| |
| GetFileVersions |
Returns all the versions of a file
| |
| GetFileVersionsInFolder |
Get all the non-published versions in a Folder
| |
| GetVersionContent |
Get the content of a specific version file
| |
| IsFileVersionEnabled |
This method returns true if FileVersion is enabled in the portal, false otherwise
| |
| IsFolderVersioned(Int32) |
This method returns true if FileVersion is enabled in the Folder, false otherwise
| |
| IsFolderVersioned(IFolderInfo) |
This method returns true if FileVersion is enabled in the Folder, false otherwise
| |
| MaxFileVersions |
This method returns the max number of versions for a portal
| |
| RollbackFileVersion |
Rollbacks a file to the specified version
| |
| SetPublishedVersion |
Changes the published version of a file
|