Interface IContentVersionRepositoryEx
Signature for extension interface that can be implemented by IContentVersionRepository implementations to support listing of obsolete versions.
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public interface IContentVersionRepositoryEx
Remarks
The intention is that this interface will be merged into IContentVersionRepository in next major release
Methods
ListObsolete(Int32, out Int32)
List versions that are obsolete and ready for deletion.
Declaration
IEnumerable<ContentVersion> ListObsolete(int maxRows, out int totalCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxRows | Max number of rows to return |
System.Int32 | totalCount | total number of obsolete versions that exist |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContentVersion> | A list of obsolete versions |