Udostępnij za pośrednictwem


UserDefinedFunction.Indexes Property

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)

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, GetType(Index))> _
Public ReadOnly Property Indexes As IndexCollection
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, typeof(Index))] 
public IndexCollection Indexes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, typeof(Index))] 
public:
property IndexCollection^ Indexes {
    IndexCollection^ get ();
}
/** @property */
public IndexCollection get_Indexes ()
public function get Indexes () : IndexCollection

Property Value

An IndexCollection object that represents all the indexes defined on the user-defined function.

Remarks

The Index property is used to define table constraints.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.