Share via


Table.Indexes Property

Gets the specified index of collection in the table.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.None Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public Overrides ReadOnly Property Indexes As IndexCollection
    Get
'Usage
Dim instance As Table
Dim value As IndexCollection

value = instance.Indexes
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)]
public override IndexCollection Indexes { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Index), SfcObjectFlags::None|SfcObjectFlags::Design|SfcObjectFlags::Deploy)]
public:
virtual property IndexCollection^ Indexes {
    IndexCollection^ get () override;
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
abstract Indexes : IndexCollection
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Index), SfcObjectFlags.None|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
override Indexes : IndexCollection
override function get Indexes () : IndexCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.IndexCollection
The specified index of collection in the table.