Share via


Propriété Indexes

Obtient l'index de la collection spécifié dans la table.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Index), SfcObjectFlags.None Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public Overrides ReadOnly Property Indexes As IndexCollection
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .IndexCollection
Index de la collection spécifié dans la table.