OleDbProviderSettings.IndexAsAccessPath Property
Gets or sets the Boolean property value that specifies whether the OLE DB provider indexes are used to fetch data.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IndexAsAccessPath As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
A Boolean value that specifies whether the OLE DB provider indexes are used to fetch data.
If True, the OLE DB provider indexes are used to fetch data.
If False (default), the SQL Server indexes are used to fetch data.
Remarks
If nonzero, SQL Server attempts to use indexes of the provider to fetch data. By default, indexes are used only for metadata and are never opened.