IndexKeyType Enumeration
The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
Syntax
'Deklaracja
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 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. |
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.