Index.SortInTempdb Index.SortInTempdb Index.SortInTempdb Property

Definition

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

public:
 property bool SortInTempdb { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
public bool SortInTempdb { get; set; }
Public Property SortInTempdb As Boolean
Property Value

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).

Examples

Creating, Altering, and Removing Indexes

Remarks

Note

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.

Applies to