Click or drag to resize
Index Class
Class representing database index.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineIndex

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public class Index

The Index type exposes the following members.

Constructors
  NameDescription
Public methodIndex
Initializes a new index.
Top
Properties
  NameDescription
Public propertyColumns
Read-only list of columns which are part of this index.
Public propertyIsPrimaryKey
Indicates whether index is part of a primary key constraint.
Public propertyIsUnique
Indicates whether index is unique.
Public propertyName
Index name.
Public propertyType
Index type as defined in https://msdn.microsoft.com/en-us/library/ms173760.aspx
Top
Extension Methods
  NameDescription
Public Extension MethodGetOrderBy
Gets columns as a comma separated list where column names are properly enclosed in square brackets and each column name is appended its ordering (ASC or DESC). Included columns are omitted.
(Defined by IndexExtensions.)
Top
See Also