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


Свойство IndexedColumn.ID

Gets the ID value that uniquely identifies the indexed column.

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

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ID As Integer 
    Get
'Применение
Dim instance As IndexedColumn 
Dim value As Integer 

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member ID : int
function get ID () : int

Значение свойства

Тип: System.Int32
An Int32 value that specifies the ID value of the indexed column.

Замечания

This property corresponds to the indexed column ID value held in the system tables.

Примеры

Создание, изменение и удаление индексов

См. также

Справочник

IndexedColumn Класс

Пространство имен Microsoft.SqlServer.Management.Smo

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

Индексы

CREATE INDEX (Transact-SQL)