Condividi tramite


Proprietà View.IsIndexable

Gets the Boolean property that specifies whether it is possible to place an index on the view.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsIndexable As Boolean 
    Get
'Utilizzo
Dim instance As View 
Dim value As Boolean 

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

Valore proprietà

Tipo: System.Boolean
A Boolean value that specifies whether an index can be placed on the view.If True, an index can be placed on the view.If False (default), an index cannot be placed on the view.

Esempi

Creazione, modifica e rimozione di viste

Vedere anche

Riferimento

View Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Progettazione e implementazione di viste

CREATE VIEW (Transact-SQL)