Compartir a través de


Enumeración IndexKeyType

The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Sintaxis

'Declaración
Public Enumeration IndexKeyType
'Uso
Dim instance As IndexKeyType
public enum IndexKeyType
public enum class IndexKeyType
type IndexKeyType
public enum IndexKeyType

Miembros

Nombre del miembro Descripción
None The index is based on a column with no key constraint.
DriPrimaryKey The index implements a SQL Server PRIMARY KEY constraint.
DriUniqueKey The index implements a UNIQUE constraint on a table not constrained by a primary key. The index is a candidate key.

Comentarios

The IndexKeyType enumeration class is served by the IndexKeyType property.