Propriété Index.IndexedColumns
Gets a collection of IndexedColumn objects that represent all the columns participating in the index.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(IndexedColumn), _
SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design Or SfcObjectFlags.Deploy)> _
Public ReadOnly Property IndexedColumns As IndexedColumnCollection
Get
'Utilisation
Dim instance As Index
Dim value As IndexedColumnCollection
value = instance.IndexedColumns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(IndexedColumn),
SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design|SfcObjectFlags.Deploy)]
public IndexedColumnCollection IndexedColumns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny,
typeof(IndexedColumn), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design|SfcObjectFlags::Deploy)]
public:
property IndexedColumnCollection^ IndexedColumns {
IndexedColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny,
typeof(IndexedColumn), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design|SfcObjectFlags.Deploy)>]
member IndexedColumns : IndexedColumnCollection
function get IndexedColumns () : IndexedColumnCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.IndexedColumnCollection
An IndexedColumnCollection object that represents all the columns participating in the index.
Exemples
Création, modification et suppression d'index
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo