Indexes-Eigenschaft

Stellt eine Auflistung von Index-Objekten dar. Jedes Index-Objekt stellt einen für die benutzerdefinierte Funktion definierten Index dar.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.Design)> _
Public ReadOnly Property Indexes As IndexCollection
    Get
'Usage
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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .IndexCollection
Ein IndexCollection-Objekt, das alle für die benutzerdefinierte Funktion definierten Indizes darstellt.

Hinweise

The Index property is used to define table constraints.