The IDBPromptInitialize interface allows you to access the data link API programmatically from Visual C++®. When accessing OLE DB directly, using the OLE DB IDBPromptInitialize interface, the connection string is passed as a parameter to create an OLE DB data source object.
Method | Description |
PromptDataSource | Opens the Data Link Properties dialog box. Returns a data link with the properties set. |
PromptFileName | Opens the Select Data Link dialog box. Allows the user to browse and organize data link files. Returns a fully qualified path to the user-selected data link file. |
For more information about IDBPromptInitialize, see “IDBPromptInitialize” in the Data Link API Reference.