Condividi tramite


Proprietà Indexes

Ottiene l'indice della raccolta specificato nella tabella.

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), SfcObjectFlags.None Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public Overrides ReadOnly Property Indexes As IndexCollection
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .IndexCollection
L'indice della raccolta specificato nella tabella.