Export (0) Print
Expand All

UserDefinedFunction.Indexes Property

 

Applies To: SQL Server 2016 Preview

Represents a collection of Index objects. Each Index object represents an index defined on the user-defined function.

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

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, 
	SfcContainerCardinality.ZeroToAny, typeof(Index), SfcObjectFlags.Design)]
public IndexCollection Indexes { get; }

Property Value

Type: 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.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft