Partager via


Propriété Index.IsIndexOnTable

Gets the Boolean property value that specifies whether the index is defined for a table or a view.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsIndexOnTable As Boolean 
    Get
'Utilisation
Dim instance As Index 
Dim value As Boolean 

value = instance.IsIndexOnTable
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsIndexOnTable { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsIndexOnTable {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsIndexOnTable : bool
function get IsIndexOnTable () : boolean

Valeur de propriété

Type : System.Boolean
A Boolean value that specifies whether the index is defined for a table or a view.If True, the index is defined for a table. Otherwise, False (default).

Exemples

Création, modification et suppression d'index

Voir aussi

Référence

Index Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Index

CREATE INDEX (Transact-SQL)