Udostępnij za pośrednictwem


Właściwość IndexAsAccessPath

Pobiera lub ustawia Boolean wartości właściwość, która określa, czy indeksy dostawca OLE DB są używane do pobierania danych.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IndexAsAccessPath As Boolean
    Get
    Set
'Użycie
Dim instance As OleDbProviderSettings
Dim value As Boolean

value = instance.IndexAsAccessPath

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

Wartość właściwości

Typ: System. . :: . .Boolean
A Boolean wartość określająca, czy indeksy dostawca OLE DB są używane do pobierania danych.
Jeśli True, indeksy dostawca OLE DB są używane do pobierania danych.
Jeśli False (domyślnie), SQL Server indeksy są używane do pobierania danych.

Uwagi

Jeśli jest niezerowa, SQL Server próbuje użyć indeksy dostawca do pobierania danych.Domyślnie indeksy są używane tylko dla metadane i nigdy nie są otwarte.