General OLE DB initialization properties
- Last UpdatedFeb 07, 2023
- 1 minute read
- PI System
- PI OLEDB Enterprise 2019
- Developer
These general OLE DB initialization properties are supported for both PI OLEDB Provider and PI OLEDB Enterprise:
|
OLE DB Property |
Description |
Connection String Keyword |
Examples |
|---|---|---|---|
|
OLE DB provider ProgID |
Provider |
|
|
|
DBPROP_AUTH_ INTEGRATED |
Name of the authentication service Setting the property to Security Service Provider Interface (SSPI) invokes a trusted connection |
Integrated Security |
(default)
|
|
DBPROP_AUTH_ USERID |
User name |
User ID |
|
|
DBPROP_AUTH_ PASSWORD |
Password |
Password |
|
|
DBPROP_INIT_ CATALOG |
Initial catalog (database) |
Initial Catalog = Configuration; |
|
|
DBPROP_INIT_ DATASOURCE |
Name of the PI AF server that is the data source |
Data Source |
|
|
DBPROP_INIT_ HWND |
Window handle from the calling application - used as a parent window of the dialog that prompts for the missing information |
This property is not persisted in the connection string |
N/A |
|
DBPROP_INIT_ PROMPT |
Prompt mode - designates if the provider should ask for the missing information |
This property is not persisted in the connection string |
N/A |
|
DBPROP_INIT_ PROVIDERSTRING |
Provider-specific properties |
Extended Properties |
|
|
DBPROP_INIT_ TIMEOUT |
Connection timeout in seconds This property is currently not used You must use PI System Explorer to change the default connection timeout |
Connect Timeout |
|