다음을 통해 공유


OleDbProviderSettings.IndexAsAccessPath 속성

Gets or sets the Boolean property value that specifies whether the OLE DB provider indexes are used to fetch data.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IndexAsAccessPath As Boolean 
    Get 
    Set
‘사용 방법
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)

속성 값

유형: 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.

주의

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.

SMO에서 연결된 서버 사용

참고 항목

참조

OleDbProviderSettings 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스