Index.IndexKeyType Property

Gets or sets the index key type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public IndexKeyType IndexKeyType { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.IndexKeyType
An IndexKeyType object value that specifies the type of key on which the index is built, such as a unique key or a primary key.

Community Additions