Поделиться через


Index.IndexKeyType Property

Gets or sets the index key type.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property IndexKeyType As IndexKeyType
public IndexKeyType IndexKeyType { get; set; }
public:
property IndexKeyType IndexKeyType {
    IndexKeyType get ();
    void set (IndexKeyType value);
}
/** @property */
public IndexKeyType get_IndexKeyType ()

/** @property */
public void set_IndexKeyType (IndexKeyType value)
public function get IndexKeyType () : IndexKeyType

public function set IndexKeyType (value : 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.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Create a Non-Clustered, Composite Index in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Creating, Altering, and Removing Indexes
Индексы
CREATE INDEX (Transact-SQL)