Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
public enum IndexKeyType
public enum IndexKeyType
public enum IndexKeyType
Member nameDescription
DriPrimaryKeyThe index implements a Microsoft SQL Server PRIMARY KEY constraint.
DriUniqueKeyThe index implements a UNIQUE constraint on a table not constrained by a primary key. The index is a candidate key.
NoneThe index is based on a column with no key constraint.

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.


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.