Свойство UserDefinedFunction.Indexes
Represents a collection of Index objects. Each Index object represents an index defined on the user-defined function.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Index), SfcObjectFlags.Design)> _
Public ReadOnly Property Indexes As IndexCollection
Get
'Применение
Dim instance As UserDefinedFunction
Dim value As IndexCollection
value = instance.Indexes
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Index), SfcObjectFlags.Design)]
public IndexCollection Indexes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Index), SfcObjectFlags::Design)]
public:
property IndexCollection^ Indexes {
IndexCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Index), SfcObjectFlags.Design)>]
member Indexes : IndexCollection
function get Indexes () : IndexCollection
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.IndexCollection
An IndexCollection object that represents all the indexes defined on the user-defined function.
Замечания
The Index property is used to define table constraints.
Примеры
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo
Другие ресурсы
Определяемые пользователем функции (компонент Database Engine)