Condividi tramite


Proprietà Index.SortInTempdb

Gets or sets the Boolean property value that specifies whether the index is sorted using the tempdb database for intermediate storage of data.

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SortInTempdb As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As Index 
Dim value As Boolean 

value = instance.SortInTempdb

instance.SortInTempdb = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool SortInTempdb { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool SortInTempdb {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member SortInTempdb : bool with get, set
function get SortInTempdb () : boolean 
function set SortInTempdb (value : boolean)

Valore proprietà

Tipo: System.Boolean
A Boolean value that specifies whether the index is sorted using the tempdb database for temporary storage. If True, the index is sorted in the tempdb database. Otherwise, False (default).

Osservazioni

[!NOTA]

For indexes based on the UserDefinedTableType object the value of SortInTempdb property is always the default value and the value set by the user is ignored.

Esempi

Creazione, modifica e rimozione di indici

Vedere anche

Riferimento

Index Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Indici

CREATE INDEX (Transact-SQL)