共用方式為


SortInTempdb 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property SortInTempdb As Boolean
    Get
    Set
'用途
Dim instance As Index
Dim value As Boolean

value = instance.SortInTempdb

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

屬性值

型別: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).

備註

[!附註]

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.