Condividi tramite


IndexKeyType Enumeration

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Sintassi

'Dichiarazione
Public Enumeration IndexKeyType
public enum IndexKeyType
public enum class IndexKeyType
public enum IndexKeyType
public enum IndexKeyType

Members

Member name Description
DriPrimaryKey The index implements a Microsoft 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.
None The index is based on a column with no key constraint.

Osservazioni

The IndexKeyType enumeration class is served by the IndexKeyType property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Microsoft.SqlServer.Management.Smo Namespace