Condividi tramite


Proprietà Indexes

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index))> _
Public ReadOnly Property Indexes As IndexCollection
    Get
'Utilizzo
Dim instance As UserDefinedFunction
Dim value As IndexCollection

value = instance.Indexes
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index))]
public IndexCollection Indexes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Index))]
public:
property IndexCollection^ Indexes {
    IndexCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index))>]
member Indexes : IndexCollection
function get Indexes () : IndexCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .IndexCollection
An IndexCollection object that represents all the indexes defined on the user-defined function.

Osservazioni

The Index property is used to define table constraints.