ISchemaVersions Method Ingeniux CMS Content Store API

Retrieves the schema's history, which is a collection of all its previous versions, in a paginated fashion.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

IEnumerable<ISchemaVersion> Versions(
	out int count,
	int pageSize = -1,
	int startingIndex = -1
)

Parameters

count
Type: SystemInt32
Output total count of entries.
pageSize (Optional)
Type: SystemInt32
Number of entries to return. If not provided, returns all entries.
startingIndex (Optional)
Type: SystemInt32
Starting index of entries. If not provided, starts from first entry.

Return Value

Type: IEnumerableISchemaVersion
Collection of previous versions.
Remarks

Schema manager has a versions limit setting, which allows automatically cleans up older versions of schemas to keep the number of previous versions under the limit. Therefore, this collection may not be the entire history of this schema.
See Also

Reference