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


Свойство IndexedColumn.Parent

Gets the Index object that is the parent of the IndexedColumn object.

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

Синтаксис

'Декларация
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.None Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public Property Parent As Index 
    Get 
    Set
'Применение
Dim instance As IndexedColumn 
Dim value As Index 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)]
public Index Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::None|SfcObjectFlags::Design|SfcObjectFlags::Deploy)]
public:
property Index^ Parent {
    Index^ get ();
    void set (Index^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
member Parent : Index with get, set
function get Parent () : Index 
function set Parent (value : Index)

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

Тип: Microsoft.SqlServer.Management.Smo.Index
An Index object value that specifies the parent of the IndexedColumn object.

Примеры

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

См. также

Справочник

IndexedColumn Класс

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

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

Индексы

CREATE INDEX (Transact-SQL)