共用方式為


SPDataRetrievalProvider.OleDbProviders property

會取得 Web 應用程式中所用的 OLEDB 提供者清單。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property OleDbProviders As Collection(Of String)
    Get
'用途
Dim instance As SPDataRetrievalProvider
Dim value As Collection(Of String)

value = instance.OleDbProviders
public Collection<string> OleDbProviders { get; }

Property value

Type: System.Collections.ObjectModel.Collection<String>

System.Collections.ObjectModel.Collection物件,其中包含的 OLEDB 提供者清單。根據預設,下列提供者是包含:

  • DB2OLEDB

  • IBMDADB2

  • MSDAORA

  • OraOLEDB.Oracle

  • SQLOLEDB

請參閱

參照

SPDataRetrievalProvider class

SPDataRetrievalProvider members

Microsoft.SharePoint.Administration namespace