Microsoft OLE DB Provider for Microsoft Indexing Service
Applies to: Access 2013, Office 2013
The Microsoft OLE DB Provider for Microsoft Indexing Service provides programmatic read-only access to file system and web data indexed by Microsoft Indexing Service. ADO applications can issue SQL queries to retrieve content and file property information.
The provider is free-threaded and unicode enabled.
Connection String Parameters
To connect to this provider, set the Provider= argument to the ConnectionString property to:
MSIDXS
Reading the Provider property will return this string as well.
Typical Connection String
A typical connection string for this provider is:
"Provider=MSIDXS;Data Source=myCatalog;Locale Identifier=nnnn;"
The string consists of these keywords:
Keyword |
Description |
---|---|
Provider |
Specifies the OLE DB Provider for Microsoft Indexing Service. Typically this is the only keyword specified in the connection string. |
Data Source |
Specifies the Indexing Service catalog name. If this keyword is not specified, the default system catalog is used. |
Locale Identifier |
Specifies a unique 32-bit number (for example, 1033) that specifies preferences related to the user's language. These preferences indicate how dates and times are formatted, items are sorted alphabetically, strings are compared, and so on. If this keyword is not specified, the default system locale identifier is used. |
Command Text
The Indexing Service SQL query syntax consists of extensions to the SQL-92 SELECT statement and its FROM and WHERE clauses. The results of the query are returned via OLE DB rowsets, which can be consumed by ADO and manipulated as Recordset objects.
You can search for exact words or phrases, or use wildcards to search for patterns or stems of words. The search logic can be based on Boolean decisions, weighted terms, or proximity to other words. You can also search by "free text," which finds matches based on meaning, rather than exact words.
The provider does not accept stored procedure calls or simple table names (for example, the CommandType property will always be adCmdText).
Recordset Behavior
The following tables list the features available with a Recordset object opened with this provider. Only the Static cursor type (adOpenStatic) is available.
For more detailed information about Recordset behavior for your provider configuration, run the Supports method and enumerate the Properties collection of the Recordset to determine whether provider-specific dynamic properties are present.
Availability of standard ADO Recordset properties:
Property |
Availability |
---|---|
read/write |
|
read/write |
|
read-only |
|
read-only |
|
read/write |
|
read/write |
|
always adUseServer |
|
always adOpenStatic |
|
always adEditNone |
|
read-only |
|
read/write |
|
read/write |
|
not available |
|
read/write |
|
read-only |
|
read/write |
|
read-only |
|
read/write |
|
read-only |
|
read-only |
*Bookmarks must be enabled on the provider in order for this feature to exist on the Recordset.
Availability of standard ADO Recordset methods:
Method |
Available? |
---|---|
No |
|
Yes |
|
No |
|
No |
|
Yes |
|
Yes |
|
No |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
No |
|
No |
See also
For specific implementation details and functional information about the Microsoft OLE DB Provider for Microsoft Indexing Service, consult the Microsoft OLE DB Programmer's Reference.